rotcipher

Crates.iorotcipher
lib.rsrotcipher
version0.1.3
sourcesrc
created_at2021-11-27 18:05:28.443123
updated_at2021-11-27 18:15:20.045937
descriptionROT Cipher implementation in rust, rot1 to rot25
homepage
repositoryhttps://github.com/Autist69420/rotcipher-rs
max_upload_size
id488511
size40,714
(bananasov)

documentation

README

rotcipher-rs

ROT Cipher implementation in rust, supports rot1 to rot25.

Supported ROT ciphers

ROT1 up to ROT25, it is also possible to make custom ROT ciphers, and here's how:

use rotcipher::rot;

fn main() {
    let rot_cipher = rot("Hello World!", 55);
    println!("rot (55): {}", rot_cipher)
}

Example

use rotcipher::{rot4, rot13};

fn main() {
    let rot4_str = rot4!("Hello, World!");
    let rot13_str = rot13!("Hello, World!");

    println!("rot4: {}", rot4_str);
    println!("rot13: {}", rot13_str);
}
Commit count: 0

cargo fmt