Low commit activity in last 3 years
Argon2 key derivation for Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Argon2 KDF

Argon2 key derivation for Ruby

  • No dependencies
  • 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