encrypt_with_key

Function encrypt_with_key 

Source
pub fn encrypt_with_key(
    key_id: &str,
    plaintext: &str,
    associated_data: Option<&[u8]>,
) -> Result<String>
Expand description

Encrypt text using a stored key