mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-06-24 15:12:31 +00:00

This enables parallelism for streaming AEAD chunked encryption. The reason we can't do so at the very end of the pipe chain (e.g., in `readToEnd`) is because requests for increased buffering (i.e. `desiredSize > 1`) do not propagate backwards, only requests for backpressure (i.e. `desiredSize <= 0`) do.