Modules§
Structs§
- Cipher
- Cipher
Set - Key
- References a specific key in the cipher set.
- Stream
Cipher - A thin wrapper around a ChaCha20 stream cipher. This will use a zero nonce. NOTE: Great care must be taken not to encrypt different plaintext with the same key and offset (even across multiple boots), so consider if this suits your purpose before using it.
- Unwrapped
Key - Wrapped
KeyBytes V32 - Wrapped
KeyV32 - Wrapped
KeyV40 - Wrapped
Keys V32 - Wrapped
Keys V40
Enums§
- Find
KeyResult - KeyPurpose
- Different keys are used for metadata and data in order to make certain operations requiring a metadata key rotation (e.g. secure erase) more efficient.
Constants§
Traits§
- Crypt
- An interface trait with the ability to wrap and unwrap encryption keys.
Functions§
Type Aliases§
- KeyBytes
- Unwrapped
Keys - Wrapped
Key - Wrapped
KeyBytes - Wrapped
Keys - To support key rolling and clones, a file can have more than one key. Each key has an ID that unique to the file.