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
Hi @mrauhu thanks for the suggestion and detailed explanation.
For the time being, i prefer to keep using sha256 for two reasons:
There is native API support both from node crypto and Web Crypto without the need to additional WASM to migrate
Sha algorithms are much more widely adopted and tested
Speed concerns can be addressed in the following significant hash versions by moving to use native implementation and as you mentioned promise API in order to leverage Web Crypto. BTW not set to stone. We might change the algorithm again and I will keep xxhash/hash-wasm in mind.
Hello @pi0.
I suggest to use:
Hash functions speed benchmark
CPU: Intel i7-8750H 2.2GHz (up to 3.9 GHz).
Information
hash-wasm
hash-wasm
benchmarkhttps://github.com/rurban/smhasher/blob/master/doc/Murmur3A.txt
https://github.com/rurban/smhasher/blob/master/doc/sha2-256.txt
https://github.com/rurban/smhasher/blob/master/doc/xxHash64.txt
Variants of breaking changes
Because
createXXHash64()
orxxHash64()
functions is returns a promise.A.
B.
Best wishes,
Sergey.
The text was updated successfully, but these errors were encountered: