Skip to content

Commit b0cc634

Browse files
authored
scrypt: Update docs for recommended log_n parameter (#435)
1 parent c8c1114 commit b0cc634

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scrypt/src/params.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ impl Params {
8787
})
8888
}
8989

90-
/// Recommended values sufficient for most use-cases
91-
/// - `log_n = 15` (`n = 32768`)
90+
/// Recommended values according to the [OWASP cheat sheet](https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#scrypt)
91+
/// - `log_n = 17` (`n = 131072`)
9292
/// - `r = 8`
9393
/// - `p = 1`
9494
pub fn recommended() -> Params {

0 commit comments

Comments
 (0)