Crypto Lib
    Preparing search index...

    Function pqStreamSender

    • Starts a stream to a recipient: its header (ephemeral X25519 key, ML-KEM-768 ciphertext, base nonce) and the encryptor for its chunks.

      Parameters

      • recipX25519Pub: Uint8Array
      • recipMlKemPub: Uint8Array
      • chunkSize: number

      Returns { header: Uint8Array; encryptor: ChunkEncryptor }