A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/riverrun/argon2_elixir/issues/17 below:

How to use argon2id (usage example) ? · Issue #17 · riverrun/argon2_elixir · GitHub

Hi @riverrun, thanks for making this package!

Quick question: how can we use argon2id to hash_password ?

from /lib/argon2.ex:

defp argon2_type("$argon2id" <> _), do: 2

it's apparent that it's

possible

to use the

argon2id

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:

config :argon2_elixir,
  argon2_type: 2

I'm keen to use argon2id because of:
https://crypto.stackexchange.com/questions/48935/why-use-argon2i-or-argon2d-if-argon2id-exists


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4