Crypto Lib
    Preparing search index...

    Function createMultiPqEncryptStream

    • Create a TransformStream that encrypts data for multiple recipients using hybrid post-quantum STREAM.

      Emits the header (one key slot per recipient) at once and each chunk as soon as the next byte shows it is not the last; the output is the same as streamMultiPqEncrypt's.

      Parameters

      Returns TransformStream<Uint8Array<ArrayBufferLike>, Uint8Array<ArrayBufferLike>>

      A TransformStream that accepts plaintext Uint8Array chunks and emits ciphertext.