You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Stringify-ing then hashing the string is slow and only gets slower as the object grows larger. We need something that works in both node and the browser. For the envisioned use case, we also don't need it to be secure. Any fast, low-collision hash that works for objects as well as primitives will work.
Describe the solution you'd like
We can leverage the built-in node and web crypto APIs to build a version that could be faster and/or have less collisions.
Describe alternatives you've considered
The most popular object hashing libraries only work for one environment and, honestly, provide more options than are necessary for our use case.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Stringify-ing then hashing the string is slow and only gets slower as the object grows larger. We need something that works in both node and the browser. For the envisioned use case, we also don't need it to be secure. Any fast, low-collision hash that works for objects as well as primitives will work.
Describe the solution you'd like
We can leverage the built-in node and web crypto APIs to build a version that could be faster and/or have less collisions.
Describe alternatives you've considered
The most popular object hashing libraries only work for one environment and, honestly, provide more options than are necessary for our use case.
The text was updated successfully, but these errors were encountered: