Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AEADDecrypt ¶
AEADDecrypt decrypts a message of an expected fixed size.
The message size is limited to mitigate multi-key attacks, where a ciphertext can be crafted that decrypts successfully under multiple keys. Short ciphertexts can only target two keys, which has limited impact.
func AEADEncrypt ¶
AEADEncrypt encrypts a message with a one-time key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.