Skip to content

mynameiscfed/lua-resty-fastpbkdf2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Lua bindings to fastpbkdf2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published