Home

Awesome

jargon

A modern Argon2 password hashing library for Erlang.

Argon2

Argon2 is a password hashing function that was designed to be fast, memory-hard, and resistant to side-channel attacks.

Read more about Argon2 on the official Argon2 website.

Usage

Hashing

{ok, RawHash, EncodedHash} = jargon:hash(<<"password">>, <<"saltsalt">>, argon2d, 32, 12, 1, 32).

Verifying

{ok, true} = jargon:verify(EncodedHash, <<"password">>).

Building

git submodule update --init --recursive
make compile

Contributing

Contributions are welcome!