-
Notifications
You must be signed in to change notification settings - Fork 264
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
What's the best Digest
trait?
#15
Comments
In your case it's better to use One thing to note: Any chance that your hash implementation could become part of this project in the future? UPD: Ah, you want to write Dropbox Content Hasher if I am not mistaken and add Rust example to |
Yup, it's a non-standard hash just for the Dropbox API, so probably not worth including in this project :-) I'll go ahead and use the |
BTW you can write and publish crate |
The goal is to actually have this code as part of the Dropbox API SDKs. It's just that those aren't ready yet, so we decided to publish code samples for early adopters to copy/paste for now. Thanks for the hex tip. I'll update the code. |
Both the
rust-crypto
anddigest
crates have aDigest
trait. They're both listed as being authored by "The Rust-Crypto Project Developers".If I'm defining a new hash algorithm, which trait should I implement?
The text was updated successfully, but these errors were encountered: