# `Sigra.Hashers.Argon2`
[🔗](https://github.com/sztheory/sigra/blob/v1.20.0/lib/sigra/hashers/argon2.ex#L1)

Argon2id password hasher implementation.

Uses `argon2_elixir` which wraps the reference C implementation of
Argon2id -- the OWASP-recommended password hashing algorithm. Argon2id
is memory-hard and resistant to GPU/ASIC attacks.

## Configuration

Argon2 parameters can be configured via application config:

    config :argon2_elixir,
      t_cost: 3,
      m_cost: 16,
      parallelism: 2

For testing, use minimal cost parameters:

    config :argon2_elixir, t_cost: 1, m_cost: 8

---

*Consult [api-reference.md](api-reference.md) for complete listing*
