lights FAQ Forum github.com/luapower/xxhash
xxhash

Hashing
xxhash
blake2
sha2
md5
hmac

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: 2 years ago | Edit on GitHub

Pkg type:Lua+ffi
Version: r1-1-g78e6039
Last commit:
License: BSD
Import ver: 0.5.0
Requires: luajit 
Required by: none

Top