Replacement for crypto_secretstream
Hello! I found the following in the cryptobox_secretstream documentation:
This algorithm has largely been replaced by the newer IETF variant of ChaCha20Poly1305 (and the associated XChaCha20Poly1305) AEAD ciphers (RFC 8439), but is useful for interoperability with legacy NaCl-based protocols.
It links to the chacha20poly1305 crate from this repository, but I'm not sure how to use this in streaming mode, for data that doesn't fit into memory all at once.
Is this what #628 is about? :) Thanks!
Is this what https://github.com/RustCrypto/AEADs/issues/628 is about?
Yes, although that's just extracting it into its own crate. The functionality has existed in the aead crate for awhile: https://docs.rs/aead/latest/aead/stream/index.html