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

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -