Skip to content

Commit d7185da

Browse files
authored
doc: recommend argon2 in JWT cookbook (#1749) (#1788)
1 parent 87d449c commit d7185da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/cookbook/jwt-and-basic-auth/JWTAndBasicAuth.lhs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ authCheck connPool (BasicAuthData login password) = pure $
9292
```
9393
9494
**Warning**: make sure to use a proper password hashing function in
95-
functions like this: see [bcrypt](https://en.wikipedia.org/wiki/Bcrypt),
95+
functions like this: see [Argon2](https://en.wikipedia.org/wiki/Argon2),
96+
[bcrypt](https://en.wikipedia.org/wiki/Bcrypt),
9697
[scrypt](https://en.wikipedia.org/wiki/Scrypt),
9798
[pgcrypto](https://www.postgresql.org/docs/current/static/pgcrypto.html).
9899

0 commit comments

Comments
 (0)