Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mynameiscfed/lua-resty-fastpbkdf2
Lua bindings to fastpbkdf2
https://github.com/mynameiscfed/lua-resty-fastpbkdf2
Last synced: 3 months ago
JSON representation
Lua bindings to fastpbkdf2
- Host: GitHub
- URL: https://github.com/mynameiscfed/lua-resty-fastpbkdf2
- Owner: mynameiscfed
- Created: 2016-04-04T14:41:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-04-04T15:06:34.000Z (over 8 years ago)
- Last Synced: 2024-02-13T17:30:22.791Z (9 months ago)
- Language: C
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-resty - lua-resty-fastpbkdf2
README
# lua-resty-fastpbkdf2
Lua bindings to fastpbkdf2# Usage
pbkdf2.fastpbkdf2_hmac(password, salt, iterations, key_len, hash_type)
password = string
salt = string
iterations = integer
key_len = integer
hash_type = string [ sha1, sha256, sha512 ]
Example
```
local pbkdf2 = require "fastpbkdf2"
local keydata = pbkdf2.fastpbkdf2_hmac(key, salt, iterations, 48, "sha256")
```This is an experimental module. Use with caution.