From 0db67e1c7cb0759a36b21bcd1c91eac1e399a85c Mon Sep 17 00:00:00 2001 From: elsapet Date: Thu, 30 May 2024 11:02:07 +0200 Subject: [PATCH] Update rules/python/lang/weak_password_hash_argon2.yml Co-authored-by: David Roe --- rules/python/lang/weak_password_hash_argon2.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/python/lang/weak_password_hash_argon2.yml b/rules/python/lang/weak_password_hash_argon2.yml index 2602704d..9eac211f 100644 --- a/rules/python/lang/weak_password_hash_argon2.yml +++ b/rules/python/lang/weak_password_hash_argon2.yml @@ -60,7 +60,7 @@ metadata: ``` - **Do** rely on the default Argon2 type (Argon2id) as it is the most secure. This ensures the highest level of security for password storage. ```python - ph = PasswordHasher() // defaults to Argon2id + ph = PasswordHasher() # defaults to Argon2id hash = ph.hash(user.password) ```