Documentation ¶
Index ¶
- Variables
- func Decrypt(key32 []byte, nonce8 string, ciphertext []byte) ([]byte, error)
- func DecryptAndVerify(key32, dst, nonce8, ciphertext, verify []byte) ([]byte, error)
- func Encrypt(key32 []byte, nonce8 string, plaintext []byte) ([]byte, error)
- func EncryptAndSeal(key32, dst, nonce8, plaintext, verify []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidParams = errors.New("chacha20poly1305: invalid params")
Functions ¶
func DecryptAndVerify ¶
func EncryptAndSeal ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.