rune-atbash
Atbash cipher — reverse-alphabet substitution for Latin letters.
What it does
rune-atbash encodes and decodes text using the Atbash substitution cipher, mapping each Latin letter to its mirror in the alphabet: A↔Z, B↔Y, C↔X, and so on. Case is preserved; non-letter bytes pass through unchanged. Originally a Hebrew cipher, Atbash appears frequently in CTF challenges, historical texts, and cryptography exercises. Because the mapping is symmetric, the same operation encodes and decodes.
Installation
[]
= "0.1"
Usage
use atbash;
let encoded = atbash;
assert_eq!;
let decoded = atbash;
assert_eq!;
CLI
|
Output
Svool, Dliow!
License
MIT