Skip to content

xa888s/csr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csr

This is a library that provides encryption and decryption for the caesar cipher.

docs.rs

WARNING: OBVIOUSLY NOT CRYPTOGRAPHICALLY SECURE

Usage

use csr::Caesar;

fn main() {
    // the key or "shift"
    let key: u8 = 2;
    let caesar = Caesar::new(2);

    let input = "Hello world!";

    assert_eq!(caesar.encrypt(input), "Jgnnq yqtnf!");
}

About

Fast and correct caesar cipher library in Rust.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages