Documentation
    Preparing search index...

    The AEAD interface.

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

    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

    • Creates an AEAD encryption context which has seal/open operation.

      Parameters

      • key: ArrayBuffer

        A byte string of the raw key.

      Returns AeadEncryptionContext

      An AEAD encryption context.