Re-exportsยง
pub use streaming_attachment_cipher::StreamingAttachmentDecryptor;pub use streaming_attachment_cipher::StreamingAttachmentEncryptor;
Modulesยง
- aes256_
cbc_ ๐hmac_ legacy_ stream - AES-256-CBC-HMAC-Legacy-Stream
- large_
memory_ ๐buffer - A module for allocating large remote buffers not in WASM memory. WASM generally does not support resizing the heap after it has been allocated, so we need to allocate a buffer that can be released again.
- streaming_
attachment_ ๐cipher AsyncRead/AsyncWritewrapper around the streaming attachment ciphers.
Structsยง
- Stream
Decryption ๐Error - Opaque error returned when a streaming decryptor fails. The reason (HMAC mismatch, invalid padding, truncation) is intentionally not distinguished, to avoid leaking which check failed.
- Stream
Encryption ๐Error - Opaque error returned when a streaming encryptor fails.
Enumsยง
- Chunk
Decryption ๐Result - Outcome of feeding one chunk of wire bytes to a
StreamingDecryptor::update. - Chunk
Encryption ๐Result - Outcome of feeding one chunk of plaintext to a
StreamingEncryptor::update. - Stream
Creation ๐Error - Error returned by streaming-cipher constructors when the supplied key cannot be used with that streaming cipher.
Traitsยง
- Random
Access ๐Data Source - A data source that supports random-access reads
- Random
Access ๐Decryptor - A symmetric decryptor that supports random-access reads: given the complete encrypted wire stream and a plaintext byte range, return only the plaintext covering that range.
- Streaming
Decryptor ๐ - A symmetric streaming decryptor.
- Streaming
Encryptor ๐ - A symmetric streaming encryptor.