lights FAQ Forum   github.com/luapower/xxhash
xxhash

Hashing & Compression
blake2
sha2
md4
md5
hmac
xxhash
pmurhash
murmurhash3
crc32
zlib
minizip
libsodium

xxhash

fast non-crypto hash


local xxhash = require'xxhash'

A ffi binding of the extremely fast non-cryptographic hash algorithm xxHash.

API

xxhash.hash32(data[, len[, seed]]) -> hash compute a 32bit hash
xxhash.hash64(data[, len[, seed]]) -> hash compute a 64bit hash

Last updated: 18 months ago | Edit on GitHub

Pkg type:Lua+ffi
Version: 6802408
Last commit:
License: BSD
Import ver: 0.5.0
Requires: +luajit 
Required by: none

Top