Expand description
Cryptographic primitives and secret-handling types used across evault.
SecretStringis a thin re-export ofsecrecy::SecretStringso that callers do not need to depend onsecrecydirectly. It wipes its contents on drop and redacts instd::fmt::Debugoutput.MasterKeyis a 256-bit random key used to unlock the encrypted metadata store (SqlCipherMetadataStore). It is generated byMasterKey::generateand zeroized on drop.
Structs§
- Master
Key - A 256-bit symmetric key that wipes its contents on drop.
Constants§
- MASTER_
KEY_ LEN - Length of
MasterKeymaterial in bytes (256 bits).
Traits§
- Expose
Secret - Re-export of
secrecy::ExposeSecretfor convenience. Expose a reference to an inner secret
Type Aliases§
- Secret
Bytes - A fixed-size byte buffer that wipes on drop.
- Secret
String - A heap-allocated UTF-8 secret string.