Crate cipher[−][src]
This crate defines a set of traits which describe the functionality of block ciphers and stream ciphers.
Re-exports
pub use blobby; | |
pub use generic_array; |
Modules
| consts | Type aliases for many constants. |
| errors | Error types. |
Macros
| block_cipher_bench | devDefine block cipher benchmark |
| block_cipher_test | devDefine block cipher test |
| stream_cipher_async_bench | devCreate asynchronous stream cipher benchmarks |
| stream_cipher_async_test | devTest core functionality of asynchronous stream cipher |
| stream_cipher_seek_test | devTest stream synchronous stream cipher seeking capabilities |
| stream_cipher_sync_bench | devCreate synchronous stream cipher benchmarks |
| stream_cipher_test | devTest core functionality of synchronous stream cipher |
Traits
| AsyncStreamCipher | Asynchronous stream cipher core trait. |
| BlockCipher | Trait which marks a type as being a block cipher. |
| BlockDecrypt | Decrypt-only functionality for block ciphers. |
| BlockDecryptMut | Decrypt-only functionality for block ciphers with mutable access to |
| BlockEncrypt | Encrypt-only functionality for block ciphers. |
| BlockEncryptMut | Encrypt-only functionality for block ciphers with mutable access to |
| FromBlockCipher | Trait for types which can be initialized from a block cipher and nonce. |
| NewBlockCipher | Instantiate a |
| NewCipher | Cipher creation trait. |
| SeekNum | Trait implemented for numeric types which can be used with the
|
| StreamCipher | Synchronous stream cipher core trait. |
| StreamCipherSeek | Trait for seekable stream ciphers. |
Type Definitions
| Block | Block on which a |
| BlockCipherKey | Key for an algorithm that implements |
| CipherKey | Key for an algorithm that implements |
| Nonce | Nonce for an algorithm that implements |
| ParBlocks | Block on which a |