Crypto Lib
    Preparing search index...

    Interface StreamDecryptOptions

    Options for chunk-based streaming AEAD decryption.

    interface StreamDecryptOptions {
        key: string | Uint8Array<ArrayBufferLike>;
        ciphertext: Uint8Array;
        chunkSize?: number;
    }
    Index
    key: string | Uint8Array<ArrayBufferLike>

    256-bit key (32 bytes; hex string or Uint8Array).

    ciphertext: Uint8Array

    Ciphertext produced by streamEncrypt.

    chunkSize?: number

    Chunk size used during encryption (default: 65536 = 64 KiB).