enigma-cli 1.0.0

A command-line interface for an Enigma machine simulator. Configurable with any reflector, number of rotors, and plugboard pairs.
Documentation
1
2
3
4
5
6
7
8
9
10
mod char;
mod usize;

pub trait ToEnigmaInt<C, U> {
    fn to_internal_int(self) -> U;
}

pub trait FromEnigmaInt<U, C> {
    fn from_internal_int(self) -> C;
}