From 1c1e5f230f7f4d08983d685815e6cd1342493ce5 Mon Sep 17 00:00:00 2001 From: Gautier DI FOLCO Date: Tue, 1 Oct 2024 09:06:45 +0200 Subject: [PATCH] doc: recommend argon2 in JWT cookbook (#1749) --- doc/cookbook/jwt-and-basic-auth/JWTAndBasicAuth.lhs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/cookbook/jwt-and-basic-auth/JWTAndBasicAuth.lhs b/doc/cookbook/jwt-and-basic-auth/JWTAndBasicAuth.lhs index 5277b308d..3553a5398 100644 --- a/doc/cookbook/jwt-and-basic-auth/JWTAndBasicAuth.lhs +++ b/doc/cookbook/jwt-and-basic-auth/JWTAndBasicAuth.lhs @@ -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).