Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 647 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 647 Bytes

##fastpbkdf2 Build Status

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