Skip to content

Add methods to get the hash of a byte array #57

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

Merged
merged 1 commit into from
Nov 17, 2022
Merged

Add methods to get the hash of a byte array #57

merged 1 commit into from
Nov 17, 2022

Conversation

bdpdx
Copy link
Contributor

@bdpdx bdpdx commented Nov 17, 2022

The existing string methods use strlen() under the hood and thus cannot handle binary strings with zero (0x00) bytes in the data.

This pull request adds the ability to take the hash of a Uint8Array.

@bdpdx bdpdx changed the title add methods to get the hash of a byte array Add methods to get the hash of a byte array Nov 17, 2022
@itinance itinance merged commit 21df64e into itinance:master Nov 17, 2022
@itinance
Copy link
Owner

Thank you!

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.

2 participants