murmur-hash:MurmurHash3 算法的 javascript 实现

时间:2021-06-26 09:43:31
【文件属性】:
文件名称:murmur-hash:MurmurHash3 算法的 javascript 实现
文件大小:8KB
文件格式:ZIP
更新时间:2021-06-26 09:43:31
JavaScript 杂音哈希 (v3) 散列算法的 javascript 实现。 安装 $ npm install murmur-hash 用法 var murmurHash3 = require('murmur-hash').v3; 例子 // Return a 32bit hash as a unsigned int: > murmurHash3.x86.hash32("I will not buy this record, it is scratched.") 2832214938 // Return a 128bit hash as a unsigned hex: > murmurHash3.x86.hash128("I will not buy this tobacconist's, it is scratched.") "9b5b7ba2ef3f7866889adeaf00f3f9
【文件预览】:
murmur-hash-master
----index.js(233B)
----package.json(402B)
----test()
--------index.js(3KB)
----LICENSE(1KB)
----.npmignore(51B)
----.gitignore(1KB)
----lib()
--------v3()
----README.md(835B)

网友评论