Function encrypt

Source
pub fn encrypt(buf: &[u8], key: &[u8]) -> Result<Vec<u8>, String>