Closed nelsonic closed 6 years ago
invoking the hash_password
function with the following format:
Argon2.Base.hash_password("password", "salt", [{:argon2_type, 2}])
Appears to work. Should this be added to the Docs for future users?
Hi. Thanks for raising the issue. I can have a look at this later this week - I'll probably update the docs, and you suggested.
I just updated the docs (and released version 1.3), adding a few more examples for both Base.hash_password and hash_pwd_salt.
Thanks for sending the link. It's good to see what current thoughts are about the different options available.
Hi @riverrun, thanks for making this package!
from
/lib/argon2.ex
: https://github.com/riverrun/argon2_elixir/blob/91a911eb1197528689e47d76580c06ddfeb207d3/lib/argon2.ex#L176 it's apparent that it's possible to use theargon2id
but there is no usage example in the docs (readme) or in the tests/test/argon2_test.exs
I tried to add the following lines to
config.exs
: