Skip to content

ankane/argon2-kdf

Repository files navigation

Argon2 KDF

Argon2 key derivation for Ruby

Works on Linux, Mac, and Windows

For password hashing, use the argon2 gem

Build Status

Installation

Add this line to your application’s Gemfile:

gem "argon2-kdf"

Getting Started

Argon2::KDF.argon2id("pass", salt: "somesalt", t: 3, m: 15, p: 1, length: 32)

argon2i and argon2d are also supported

History

View the changelog

Contributing

Everyone is encouraged to help improve this project. Here are a few ways you can help:

To get started with development:

git clone https://github.com/ankane/argon2-kdf.git
cd argon2-kdf
bundle install
bundle exec rake vendor:all
bundle exec rake test

About

Argon2 key derivation for Ruby

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages