Function safe_core::utils::symmetric_encrypt
[−]
[src]
pub fn symmetric_encrypt(
plain_text: &[u8],
secret_key: &Key,
nonce: Option<&Nonce>
) -> Result<Vec<u8>, CoreError>
Symmetric encryption