pub fn rot13(text: &str) -> String
Expand description
Encodes a String as ROT13. Maintains lower/upper case, ignores all non [A-Za-z] characters.
ยงExamples
use rot13::rot13;
assert_eq!("Uryyb Jbeyq!", rot13("Hello World!"));
assert_eq!("Test", rot13(&rot13("Test")));