Skip to content
Argon2 key derivation for Ruby
Ruby
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/argon2
test First commit Feb 10, 2020
vendor
.gitignore
.travis.yml Run Travis on multiple platforms Feb 11, 2020
CHANGELOG.md
Gemfile
LICENSE.txt
README.md
Rakefile
appveyor.yml Added AppVeyor Feb 10, 2020
argon2-kdf.gemspec

README.md

Argon2 KDF

Argon2 key derivation for Ruby

  • No dependencies
  • Works on Linux, Mac, and Windows

For password hashing, use the argon2 gem

Build Status 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
You can’t perform that action at this time.