2 releases
Uses old Rust 2015
0.1.1 | Mar 19, 2017 |
---|---|
0.1.0 | Mar 19, 2017 |
#2375 in Cryptography
4KB
84 lines
caesarcy
Caesar cipher capabilities for Rust.
Usage
Add this to your Cargo.toml
:
[dependencies]
caesarcy = "0.1.0"
and this to your crate root:
extern crate caesarcy;
use caesarcy::*;
Methods
fn encipher(offset: i32, message: &str) -> String;
fn decipher(offset: i32, message: &str) -> String;
Author
Background
This was inspired by my Caesar Cipher algorithm implentation in Swift used in my iOS application CaesarCy