Ruby binding of https://github.com/ctz/fastpbkdf2 - CC0 License
gem install fastpbkdf2
require('fastpbkdf2')
result = Fastpbkdf2::sha1("password", "salt", 1, 20)
Fastpbkdf2::sha1(password, salt, iterations, keylen);
Fastpbkdf2::sha256(password, salt, iterations, keylen);
Fastpbkdf2::sha512(password, salt, iterations, keylen);
###Manual Build
- clone this repo and use
bundle install; rake compile
rake
to run tests
MIT