An open API service indexing awesome lists of open source software.

https://github.com/synodriver/lua-wyhash

lua binding for wyhash
https://github.com/synodriver/lua-wyhash

Last synced: about 1 year ago
JSON representation

lua binding for wyhash

Awesome Lists containing this project

README

          

# lua binding for wyhash

```lua
local wyhash = require("wyhash")
local seed = 20
local sec = wyhash.make_secret(seed)
print(wyhash.hash("sasasa", seed, sec))
print(wyhash.hash("sasasa", seed, sec))
print(wyhash.hash("sasasa", seed+1, sec))
print(wyhash.hash("sasasa", seed+1, sec))
print(wyhash.hash("sasasa", seed+2, sec))
print(wyhash.hash("sasasa", seed+2, "ssssssssssssssssssssssssssssssss"))
```