Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecryptData ¶
DecryptData decrypts data using AES-GCM with nonce (4KB size).
func EncryptData ¶
EncryptData encrypts data using AES-GCM with nonce (4KB chunks).
func GeneratePBEKey ¶
GeneratePBEKey generates a 32-byte encryption key for PBE with salt. This key is used to encrypt/decrypt user files uploaded to the server. The key itself is stored in the keyring.
func GenerateRandomNBytes ¶
GenerateRandomNBytes generates a random byte slice of length n.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.