Module caesar_decoder

Source
Expand description

For the caesar cipher decoder Decode a caesar cipher string Performs error handling and returns a string Call caesar_decoder.crack to use. It returns option and check with result.is_some() to see if it returned okay. Uses Low sensitivity for gibberish detection.

Structsยง

CaesarDecoder
The caesar decoder, call: let caesar_decoder = Decoder::<caesarDecoder>::new() to create a new instance And then call: result = caesar_decoder.crack(input) to decode a caesar string The struct generated by new() comes from interface.rs