paulmillr / noble-hashes

Audited & minimal JS implementation of hash functions, MACs and KDFs.
https://paulmillr.com/noble
MIT License
524 stars 39 forks source link

Ideas for next major update #88

Open paulmillr opened 2 months ago

paulmillr commented 2 months ago

Maybe also:

imcotton commented 1 month ago

Any thoughts on adding non-cryptographic hashes? e.g.:

paulmillr commented 1 month ago

What would be the use case?

imcotton commented 1 month ago

In general non-cryptographic hashes give synchronize call which widely applicable.

CRC32 is good for quick integrity check.

Both Murmur3 and xxHash commonly used in Bloom Filter, however existing widely used NPM packages all using old syntax (ES5, CJS) and have no updates in 5-6 years.

In case of Murmur3, rarely handle utf8 correctly^1. Jumping rabbit hole forks lead to inactive non-resolved issue^2