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

Crop an hash output isn't like produce the same lenght hash output #23

Open
MikeRow opened this issue May 13, 2020 · 0 comments
Open

Crop an hash output isn't like produce the same lenght hash output #23

MikeRow opened this issue May 13, 2020 · 0 comments

Comments

@MikeRow
Copy link

MikeRow commented May 13, 2020

Hello, considering the minimum hash lenght 16 byte, and needing 5 or 8 byte of hash lenght, I've noticed that crop the 16 byte to 5 or 8 doesn't produce the same output.

For example, using https://github.com/strawbrary/php-blake2 (which allows me a <16 byte hash output) the result is good.

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

No branches or pull requests

1 participant