Packages / rupm

rs-crypto-classic 0.1.0

Classic ciphers: Caesar, Vigenere, Atbash and ROT13 for text

Install

cargo add rs-crypto-classic --registry rupm

In Ruststudio: Packages, search for rs-crypto-classic, Install.

Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-23.

Versions

README

# rs-crypto-classic

Classic ciphers: Caesar, Vigenere, Atbash and ROT13 for text

Add it with `rupm add rs-crypto-classic` (or `cargo add rs-crypto-classic --registry rupm`).

These ciphers are historical puzzles and can be broken by hand. They are not meant for security-critical use.

```rust
assert_eq!(rs_crypto_classic::rot13("Hello, World!"), "Uryyb, Jbeyq!");
assert_eq!(rs_crypto_classic::vigenere_encrypt("ATTACKATDAWN", "LEMON").unwrap(), "LXFOPVEFRNHR");
```