A modern Argon2 password hashing library for Erlang.
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.
{ok, RawHash, EncodedHash} = jargon:hash(<<"password">>, <<"saltsalt">>, argon2d, 32, 12, 1, 32).{ok, true} = jargon:verify(EncodedHash, <<"password">>).git submodule update --init --recursive
make compileIf you want to deploy an application using Jargon in a Docker container, you'll need to make sure your image includes a C compiler to build the Jargon NIF.
RUN apk add --no-cache build-baseRUN apt-get update && apt-get install -y build-essential
## Contributing
Contributions are welcome!