[−][src]Crate stream_cipher
This crate defines a set of traits which define functionality of stream ciphers.
See RustCrypto/stream-ciphers for ciphers implementation.
Re-exports
pub use generic_array; |
pub use block_cipher; |
Modules
| consts | Type aliases for many constants. |
| dev | feature="dev"Development-related functionality |
Macros
| bench_async | feature="dev"Create synchronous stream cipher benchmarks |
| bench_sync | feature="dev"Create synchronous stream cipher benchmarks |
| new_async_test | feature="dev"Test core functionality of asynchronous stream cipher |
| new_seek_test | feature="dev"Test stream synchronous stream cipher seeking capabilities |
| new_sync_test | feature="dev"Test core functionality of synchronous stream cipher |
Structs
| InvalidKeyNonceLength | Error which notifies that key or/and nonce used in stream cipher initialization had an invalid length. |
| LoopError | Error which notifies that stream cipher has reached the end of a keystream. |
Traits
| FromBlockCipher | feature="block-cipher"Trait for initializing a stream cipher from a block cipher |
| NewStreamCipher | Stream cipher creation trait. |
| StreamCipher | Stream cipher core trait which covers both synchronous and asynchronous ciphers. |
| SyncStreamCipher | Synchronous stream cipher core trait. |
| SyncStreamCipherSeek | Synchronous stream cipher seeking trait. |
Type Definitions
| Key | Key for an algorithm that implements |
| Nonce | Nonce for an algorithm that implements |