-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[sha3] Impl SyncStreamCipher
for Sha3XofReader
#181
Comments
SyncStreamCipher
for Sha3XofReader
SyncStreamCipher
for Sha3XofReader
I think we will do it on the trait crate level, i.e. we will have a blanket (feature-gated) impl of the stream cipher traits for XOFs. |
Yes, that would be a lot nicer from an API perspective! |
@niluxv it would introduce a dependency on the Making the Edit: made a note of this in RustCrypto/traits#478 |
Ah, yes, that makes sense. I should have known that. Thanks for answering! |
Going to close it in favor of RustCrypto/traits#510. |
Since the Shake variants are considered secure PRFs (stream ciphers), it would be nice if
sha3::Sha3XofReader
would implementstream_cipher::SyncStreamCipher
. (Or if there would be a different way to get a stream cipher out of shake.)The text was updated successfully, but these errors were encountered: