Function profligate::caesar::encrypt[][src]

pub fn encrypt(text: &mut str, key: i16) -> Result<(), CaesarError>

Encrypt a string of text with the given key. This operation happens in place to cut down on allocations.