Documentation ¶
Index ¶
- func Decrypt(encrypted []byte, secret *memguard.LockedBuffer) (decrypted []byte, err error)
- func DecryptTo(encrypted []byte, secret *memguard.LockedBuffer, out []byte) (decrypted []byte, err error)
- func Encrypt(message []byte, secret *memguard.LockedBuffer) (encrypted []byte, err error)
- func EncryptTo(message []byte, secret *memguard.LockedBuffer, out []byte) (encrypted []byte, err error)
- func LenDecrypted(encrypted []byte) int
- func LenEncrypted(message []byte) int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decrypt ¶
func Decrypt(encrypted []byte, secret *memguard.LockedBuffer) (decrypted []byte, err error)
func Encrypt ¶
func Encrypt(message []byte, secret *memguard.LockedBuffer) (encrypted []byte, err error)
func LenDecrypted ¶
func LenEncrypted ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.