Function cipher_crypt::rot13::decrypt

source ·
pub fn decrypt(message: &str) -> String
Expand description

Decrypt a message using the Rot13 substitute cipher.

Examples

Basic usage:

use cipher_crypt::Rot13;

let m = "I am my own inverse";
assert_eq!(m, &Rot13::decrypt(&Rot13::encrypt(m)));