Documentation
¶
Index ¶
Constants ¶
View Source
const (
KeySize = 32
)
Variables ¶
View Source
var DecryptionErr = errors.New("Decryption error")
Functions ¶
func MakeBoxKeyPairFromSecret ¶
func MakeBoxKeyPairFromSecret(secret *memguard.LockedBuffer) (boxKeyPair, error)
func SaltpackDecrypt ¶
func SaltpackDecrypt(source io.Reader, sink io.WriteCloser, keypair boxKeyPair) error
func SaltpackEncrypt ¶
func SaltpackEncrypt(source io.Reader, sink io.WriteCloser, keypair boxKeyPair) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.