[][src]Function orion::aead::seal

#[must_use = "SECURITY WARNING: Ignoring a Result can have real security implications."]
pub fn seal(
    secret_key: &SecretKey,
    plaintext: &[u8]
) -> Result<Vec<u8>, UnknownCryptoError>

Authenticated encryption using XChaCha20Poly1305.