Skip to content

Commit

Permalink
doc: recommend argon2 in JWT cookbook (#1749) (#1788)
Browse files Browse the repository at this point in the history
  • Loading branch information
blackheaven authored Oct 1, 2024
1 parent 87d449c commit d7185da
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 d7185da

Please sign in to comment.