-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Implemented Integrity::from_hash(), inverse of Integrity::to_hash() #11
Conversation
Implemented returning |
@zkat I think this is ready to merge. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should use the actual error from hex
I'll make the changes and commit. My bad I'm extremely new to error handling 😅 |
Unfortunately hex::FromError does not implement Eq. Which leads to the following error - |
SIGH. Yeah, it can't be helped. Just keep it as |
This has been released as part of |
I've created a PR to add |
Includes doc-comment, doc-test and
from_hash()
test inmod tests
.Fixes #10