Crate crypto_generic
source ·Expand description
Provides simple Read/Write wrappers that transparently encrypt/decrypt data that passes through them.
Modules§
- Implements CryptReader/Writer by always panicking. Vendors are expected to implement their own encryption schemes.
Structs§
- Stores a cryptographic key, but permits no access to the underlying data outside of this crate.
- Interface used for file decryption.
- Interface used for file encryption.
- A vec wrapper suitable for storing cryptographic key material. On drop, the memory used will be zeroed.
Functions§
- Generates a random key usable with
CryptWriter
&CryptReader
.