pub fn encrypt(
key: &SecureKey,
plaintext: &[u8],
) -> Result<EncryptedData, CryptoError>Expand description
Encrypt data using AES-256-GCM
pub fn encrypt(
key: &SecureKey,
plaintext: &[u8],
) -> Result<EncryptedData, CryptoError>Encrypt data using AES-256-GCM