Skip to main content

Module crypt

Module crypt 

Source
Expand description

Encryption and decryption primitives (AAD-authenticated).

Functionsยง

decrypt_bytes
Decrypts the given ciphertext, returning the plaintext as zeroizing SecureBytes.
encrypt_bytes
Encrypts the given plaintext, authenticating aad alongside it.