Documentation ¶
Overview ¶
Abstractions around nacl primitives
Index ¶
Constants ¶
View Source
const (
KeySize = 32
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Key ¶
type Key interface { Bytes() *[KeySize]byte Slice() []byte Encrypt(data []byte, in io.Reader) ([]byte, error) Decrypt(data []byte) ([]byte, error) Store(file string) error }
Abstracts the bytes of a public or private key and knows how to do Symetric encryption operations
Click to show internal directories.
Click to hide internal directories.