tc_rc_cipher 0.1.0

RC2, RC5 and RC6 block ciphers for legacy interoperability, with an optional RustCrypto RC2 engine.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
mod cipher;
mod engine;

pub use engine::Rc6Engine;

/// RC6 block length in bytes.
pub const BLOCK_BYTES: usize = 16;
/// RC6 round count.
pub const ROUNDS: usize = 20;
/// Maximum accepted RC6 key length in bytes.
pub const MAX_KEY_BYTES: usize = 255;
/// Algorithm name written by the engine.
pub const ALGO_NAME: &str = "RC6";