You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These types should hardly be touched except for the rare cases where people need to implement their own providers of crypto algorithms not provided by snow itself, so I'm not sure if I can currently justify the extra dependency in my head, especially if only Cipher gets this treatment, and we don't also start relying on RngCore to replace Random, etc.
There is one problem with using the aead crate's traits for Snow's purposes right now: they aren't object safe, but easily could be with some small changes.
The
aead
crate provides abstractions for AEAD algorithms (includingno_std
-friendly ones) with several implementations including adapters for the AEAD algorithms inring
.Aside from the
rekey
method, it seems like it's close to a drop-in replacement for the existingCipher
trait.The text was updated successfully, but these errors were encountered: