def AdAegis128.seal

bend-osdev-aead@0.1.0.0 · aegis128.bend:262

import bend-osdev-aead@0.1.0.0/aegis128.bend as Aegis128
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-crypto@0.1.0.0/crypto.bend as Cr

262# p sealed under a 16-byte nonce: the ciphertext and the 16-byte tag
263def AdAegis128.seal(kk: AdAegisKey, nonce: B.Octets, aad: B.Octets, p: B.Octets) -> Result<&2, &2, Cr.CrError, B.Octets>:
264  ad.ae.seal(kk, nonce, aad, p)

Uses (5)

Used by (6)