From 3e12c73e872c6305e6e7338a782a335915121135 Mon Sep 17 00:00:00 2001 From: avearistov Date: Tue, 28 Jan 2025 00:04:55 +0700 Subject: [PATCH] fix: correct scrypt parameter order --- pages/password-authentication.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/password-authentication.md b/pages/password-authentication.md index b421fc9..93f04a4 100644 --- a/pages/password-authentication.md +++ b/pages/password-authentication.md @@ -98,8 +98,8 @@ Optionally use the `secret` parameter to pepper your hashes. [See OWASP for deta Recommended minimum parameters: - `N`: 16384 -- `P`: 16 -- `r`: 1 +- `r`: 16 +- `p`: 1 - `dkLen`: 64 [See OWASP for details](https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#scrypt).