Live data from Hacker News

Much Faster CryptoJS SHA1

aorensoftware.com

1–3 of 3 posts

Re: Much Faster CryptoJS SHA1

#2
If hash computation in Javascript is a crucial bottleneck, there are better choices than SHA1-- like BLAKE2s, which is designed to be fast on 32-bit platforms.

If collisions aren't a huge concern, something like SipHash is also possible.

https://blake2.net/

https://github.com/dchest/blake2s-js

https://131002.net/siphash/

Re: Much Faster CryptoJS SHA1

#3

If hash computation in Javascript is a crucial bottleneck, there are better choices than SHA1-- like BLAKE2s, which is designed to be fast on 32-bit platforms. If collisions aren't a huge concern, something like SipHash is also possible. https://blake2.net/ https://github.com/dchest/blake2s-js https://131002.net/siphash/

How does Blake2 compare to SHA256 in terms of uniqueness and hashing speed?