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

Javascript unsigned signed typed arrays return same hash #114

Conversation

ArtiomTr
Copy link
Contributor

@ArtiomTr ArtiomTr commented Feb 18, 2022

This PR:

  • Fixes typo in _int8array, _int16array and _int32array hashing functions.
  • Adds tests to ensure that the hash function respects different types of javascript typed arrays.

Closes #113

@addaleax addaleax merged commit 04db18b into puleos:master Feb 18, 2022
@addaleax
Copy link
Collaborator

Thank you! ✨ This is published in v3.0.0 now (due to the hash-change-is-breaking policy mentioned in the README file)

@kachkaev kachkaev mentioned this pull request Feb 21, 2022
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.

Javascript unsigned / signed typed arrays return the same hash
2 participants