import type { AeadEncryptionContext } from "./aeadEncryptionContext.js"; import type { AeadId } from "../identifiers.js"; /** * The AEAD interface. */ export interface AeadInterface { /** The KDF identifier. */ readonly id: AeadId; /** The length in bytes of an AEAD key (Nk). */ readonly keySize: number; /** The length in bytes of an AEAD nonce (Nn). */ readonly nonceSize: number; /** The length in bytes of an AEAD authentication tag (Nt). */ readonly tagSize: number; /** * Creates an AEAD encryption context which has seal/open operation. * * @param key A byte string of the raw key. * @returns An AEAD encryption context. */ createEncryptionContext(key: ArrayBufferLike | ArrayBufferView): AeadEncryptionContext; } //# sourceMappingURL=aeadInterface.d.ts.map