caesarlib

Caesar cipher capabilities for Rust.
Current Version Build Status

Usage

Add this to your Cargo.toml:

toml [dependencies] caesarlib = "0.1.1"

and this to your crate root:

```rust extern crate caesarlib;

use caesarlib::*; ```

Methods

```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) ```

Contributors

Background

This was inspired by my Caesar Cipher algorithm implentation in Swift used in my iOS application caesarlib