Skip to main content

Module crypto

Module crypto 

Source
Expand description

Cryptographic primitives and secret-handling types used across evault.

Structs§

MasterKey
A 256-bit symmetric key that wipes its contents on drop.

Constants§

MASTER_KEY_LEN
Length of MasterKey material in bytes (256 bits).

Traits§

ExposeSecret
Re-export of secrecy::ExposeSecret for convenience. Expose a reference to an inner secret

Type Aliases§

SecretBytes
A fixed-size byte buffer that wipes on drop.
SecretString
A heap-allocated UTF-8 secret string.