Ruby binding of https://github.com/ctz/fastpbkdf2 - CC0 License
Install
gem install fastpbkdf2
require('fastpbkdf2')
result = Fastpbkdf2::sha1("password", "salt", 1, 20)
Interface
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
License
MIT