Continuing the discussion from RustCrypto/AEADs#3 (comment)
It'd be good to have traits for implementing AEADs based on stream ciphers. The aead crate presents an interface which is generic enough to incorporate the one AEAD mode based on a block cipher, but most useful AEADs are based on stream ciphers, so it'd be nice to have trait(s) with blanket impls for StatelessAead which support generic composition based on the stream-cipher traits.
I'm not sure what crate these belong in. Should the aead crate have a stream-cipher feature? Or should the stream-cipher crate have an aead feature?
Continuing the discussion from RustCrypto/AEADs#3 (comment)
It'd be good to have traits for implementing AEADs based on stream ciphers. The
aeadcrate presents an interface which is generic enough to incorporate the one AEAD mode based on a block cipher, but most useful AEADs are based on stream ciphers, so it'd be nice to have trait(s) with blanket impls forStatelessAeadwhich support generic composition based on thestream-ciphertraits.I'm not sure what crate these belong in. Should the
aeadcrate have astream-cipherfeature? Or should thestream-ciphercrate have anaeadfeature?