Crypto Lib
    Preparing search index...

    Function aeadStreamSender

    • Starts a stream for key: its header (a fresh base nonce) and the encryptor for its chunks, for callers that encrypt as data arrives.

      Parameters

      • key: Uint8Array
      • chunkSize: number

      Returns { header: Uint8Array; encryptor: ChunkEncryptor }