9 points · by snielsen · 12y ago · 2 comments
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/