Documentation
¶
Index ¶
Constants ¶
View Source
const GCMNonceSize = 12
Variables ¶
This section is empty.
Functions ¶
func DecryptGCM ¶
DecryptGCM decrypts ciphertext using AES-GCM with the given key and nonce.
func EncryptGCM ¶
EncryptGCM encrypts plaintext using AES-GCM with the given key and nonce. The ciphertext is appended to dest, which must not overlap with plaintext.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.