algorithmz 0.9.7

This is the corresponding implemenation of the python module of the same name.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use algorithmz::string::atbash_cipher;

#[test]
fn test_atbash_cipher() {
    let result = atbash_cipher("abcdefghijklmno");
    assert_eq!(result,"zyxwvutsrqponml".to_string());
}

#[test]
fn test_atbash_cipher_backwards() {
    let result = atbash_cipher("zyxwvutsrqponml");
    assert_eq!(result,"abcdefghijklmno".to_string());
}