Expand description
Traits which define functionality of stream ciphers.
See RustCrypto/stream-ciphers for ciphers implementation.
Modules§
- generic_
array - This crate implements a structure that can be used as a generic array type.
Core Rust array types
[T; N]
can’t be used generically with respect toN
, so for example this:
Structs§
- Invalid
KeyNonce Length - The error type returned when key and/or nonce used in stream cipher initialization had an invalid length.
- Loop
Error - The error type returned when stream cipher has reached the end of a keystream.
- Overflow
Error - The error type returned when a cipher position can not be represented by the requested type.
Traits§
- From
Block Cipher - Trait for initializing a stream cipher from a block cipher
- From
Block Cipher Mut - Trait for initializing a stream cipher from a mutable block cipher
- NewStream
Cipher - Stream cipher creation trait.
- SeekNum
- Trait implemented for numeric types which can be used with the
SyncStreamCipherSeek
trait. - Stream
Cipher - Stream cipher core trait which covers both synchronous and asynchronous ciphers.
- Sync
Stream Cipher - Synchronous stream cipher core trait.
- Sync
Stream Cipher Seek - Trait for seekable stream ciphers.
Type Aliases§
- Key
- Key for an algorithm that implements
NewStreamCipher
. - Nonce
- Nonce for an algorithm that implements
NewStreamCipher
.