encrypt

Function encrypt 

Source
pub fn encrypt(s: &str) -> Option<String>
Expand description

Encrypt a given plain text string

ยงExample

use simple_encdec::encrypt;

let x = encrypt("hello world");
assert!(x.is_some());
assert_eq!(x.unwrap(), "a=GQVGsbbyG982gd");