Skip to content

Commit

Permalink
scrypt: Update docs for recommended log_n parameter (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
Granddave committed Jul 1, 2023
1 parent c8c1114 commit b0cc634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scrypt/src/params.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ impl Params {
})
}

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

0 comments on commit b0cc634

Please sign in to comment.