[][src]Crate cipher

This crate defines a set of simple traits used to define functionality of block ciphers and stream ciphers.

Re-exports

pub use crate::block::BlockCipher;
pub use crate::block::BlockCipherMut;
pub use crate::block::NewBlockCipher;
pub use crate::stream::NewStreamCipher;
pub use crate::stream::StreamCipher;
pub use crate::stream::SyncStreamCipher;
pub use crate::stream::SyncStreamCipherSeek;
pub use generic_array;

Modules

block

Traits used to define functionality of block ciphers.

consts

Type aliases for many constants.

stream

Traits which define functionality of stream ciphers.

Macros

benchdev

Define benchmark

bench_asyncdev

Create synchronous stream cipher benchmarks

bench_syncdev

Create synchronous stream cipher benchmarks

new_async_testdev

Test core functionality of asynchronous stream cipher

new_seek_testdev

Test stream synchronous stream cipher seeking capabilities

new_sync_testdev

Test core functionality of synchronous stream cipher

new_testdev

Define test