node.js - CityHash in Javascript -


i'm looking use cityhash64 javascript. found this node module can't figure out how make independent of node, possible?

my intention use webrowser (firefox, chrome, safari, ie) addon.

you can use murmurhash instead.

https://github.com/garycourt/murmurhash-js

cityhash has higher throughput , more complex, murmurhash has lower latency short keys , relatively simple. both more adequate sort of hashing needs might have.


Comments

Popular posts from this blog

php - How can an email be returned from Stripe Checkout? -

SQL php on different pages to Insert (mysqli) -

linked list - Get the index of the Node in a LinkedList which contains the given value in java -