encrypt_data

Function encrypt_data 

Source
pub fn encrypt_data(data: &str, key: &str) -> Result<String>