Documentation ¶
Overview ¶
Package encrypt provides utilities to encrypt and decrypt data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AES256GCM ¶
AES256GCM encrypts the plaintext using AES-256-GCM with the provided key. It returns the ciphertext with the nonce prepended.
func DecryptAES256GCM ¶
DecryptAES256GCM decrypts the ciphertext using AES-256-GCM with the provided key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.