Skip to content

Commit

Permalink
doc: recommend argon2 in JWT cookbook (haskell-servant#1749) (haskell…
Browse files Browse the repository at this point in the history
  • Loading branch information
blackheaven authored and theophile-scrive committed Dec 8, 2024
1 parent 1224e01 commit 21d237e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/cookbook/jwt-and-basic-auth/JWTAndBasicAuth.lhs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ authCheck connPool (BasicAuthData login password) = pure $
```
**Warning**: make sure to use a proper password hashing function in
functions like this: see [bcrypt](https://en.wikipedia.org/wiki/Bcrypt),
functions like this: see [Argon2](https://en.wikipedia.org/wiki/Argon2),
[bcrypt](https://en.wikipedia.org/wiki/Bcrypt),
[scrypt](https://en.wikipedia.org/wiki/Scrypt),
[pgcrypto](https://www.postgresql.org/docs/current/static/pgcrypto.html).
Expand Down

0 comments on commit 21d237e

Please sign in to comment.