Caesar cipher capabilities for Rust.
Add this to your Cargo.toml
:
toml
[dependencies]
caesarlib = "0.1.1"
and this to your crate root:
```rust extern crate caesarlib;
use caesarlib::*; ```
```rust fn encipher(offset: i32, message: &str) -> String;
fn decipher(offset: i32, message: &str) -> String;
// Returns randomly-generated offset and enciphered text fn rdm_encipher(message: &str) -> (i32, String) ```
This was inspired by my Caesar Cipher algorithm implentation in Swift used in my iOS application caesarlib