Encrypt plaintext into post-quantum hybrid STREAM AEAD ciphertext bytes.
Decrypt post-quantum hybrid STREAM AEAD ciphertext bytes into plaintext.
Create a WHATWG TransformStream that encrypts chunks with PQ hybrid STREAM AEAD.
Create a WHATWG TransformStream that decrypts PQ hybrid STREAM AEAD chunks.
The last ciphertext produced by encrypt().
The last plaintext produced by decrypt().
The chunk count from the last encrypt() call.
True while an encrypt or decrypt operation is in progress.
Reset all hook state.
Return type of the usePqStream hook.