mini-enigma 0.3.0

#[no-std] (and no alloc) zero dependency implementation of the M3 Enigma
Documentation
1
2
3
4
5
6
7
8
/// Number of rotors for the M3 Enigma
pub const M3: usize = 3;

/// Number of rotors for the M4 Enigma
pub const M4: usize = 4;

/// Number of rotors to use by default
pub const DEFAULT_ROTOR_NUM: usize = M3;