Skip to main content

Module crypto

Module crypto 

Source

Structs§

ChaChaEngine
ChaCha20-Poly1305 based crypto engine. Derives the actual encryption key from a master key using HKDF.

Traits§

CryptoEngine
Trait for encrypting and decrypting logical object payloads.

Functions§

decrypt_object
Decrypt an EncryptedObject envelope back to plaintext bytes.
encrypt_object
Encrypt a logical object payload into an EncryptedObject envelope.