| Crates.io | rotcipher |
| lib.rs | rotcipher |
| version | 0.1.3 |
| created_at | 2021-11-27 18:05:28.443123+00 |
| updated_at | 2021-11-27 18:15:20.045937+00 |
| description | ROT Cipher implementation in rust, rot1 to rot25 |
| homepage | |
| repository | https://github.com/Autist69420/rotcipher-rs |
| max_upload_size | |
| id | 488511 |
| size | 40,714 |
ROT Cipher implementation in rust, supports rot1 to rot25.
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)
}
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);
}