Crypto Lib
    Preparing search index...

    Function createPqDecryptStream

    • Create a TransformStream that decrypts hybrid post-quantum STREAM ciphertext.

      Decapsulates as soon as the header is in, then emits each chunk's plaintext once the chunk has arrived and authenticated. A stream that ends early errors instead of ending normally, but plaintext already emitted is not withdrawn: treat the output as complete only once the stream closes without error.

      Parameters

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

      A TransformStream that accepts ciphertext Uint8Array chunks and emits plaintext.