pub fn AeadOpen(
    aead_id: AEAD,
    key: &Key,
    nonce: &Nonce,
    aad: &ByteSeq,
    ct: &ByteSeq
) -> HpkeByteSeqResult
Expand description

Decrypt ciphertext and tag ct using associated data aad with symmetric key key and nonce nonce, returning plaintext message pt. This function can raise an OpenError or MessageLimitReachedError upon failure.