Skip to content
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

Add initial list of actual Multihash.Type implementations to README #42

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

vorburger
Copy link

@ianopolous how about this, as fixes #41 ?

@vorburger
Copy link
Author

Oups, hand on, don't merge this just yet, this mapping re. Google Guava's Hashing is actually wrong; I'll update the PR in a minute:

  • sha2_256 -> Hashing.sha256()
  • sha2_512 -> Hashing.sha512()

@vorburger vorburger marked this pull request as ready for review January 4, 2025 17:30
@vorburger
Copy link
Author

this mapping re. Google Guava's Hashing is actually wrong

Nope, that was totally correct; I'm just stupid, and it just took at least me a while to dig that (which is why IMHO it's useful to document):

  • sha2-256 = SHA-256
  • sha2-512 = SHA-512

I've now added a few more, and this is now ready for review and merge as-is, from my side.

@vorburger
Copy link
Author

@ianopolous sorry I don't know if you read along all comments, or want an explicit ping to re-review? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docs: Add link to Java Libraries with Hashing Function to README
1 participant