Interface AeadInterface

The AEAD interface.

interface AeadInterface {
    id: AeadId;
    keySize: number;
    nonceSize: number;
    tagSize: number;
    createEncryptionContext(key: ArrayBuffer): AeadEncryptionContext;
}

Properties

id: AeadId

The KDF identifier.

keySize: number

The length in bytes of an AEAD key (Nk).

nonceSize: number

The length in bytes of an AEAD nonce (Nn).

tagSize: number

The length in bytes of an AEAD authentication tag (Nt).

Methods