# `Fields.Helpers`

Helper functions for hashing, 
generating (random) salt values
and fetching secrets form environment.

# `hash`

```elixir
@spec hash(atom(), String.Chars.t()) :: String.t()
@spec hash(atom(), String.Chars.t()) :: String.t()
```

Hash a string, or a value that implements the String.Chars protocol, using
Argon2. Argon2 is a strong but slow hashing function, so is recommended
for passwords.

---

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