From d7185da976be4d8280c4a29ade786c723503d32b Mon Sep 17 00:00:00 2001 From: Gautier DI FOLCO Date: Tue, 1 Oct 2024 13:25:45 +0200 Subject: [PATCH] doc: recommend argon2 in JWT cookbook (#1749) (#1788) --- 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).