Skip to content

Commit

Permalink
pbkdf2: use RECOMMENDED_ROUNDS in Default impl (#442)
Browse files Browse the repository at this point in the history
  • Loading branch information
olback committed Jul 8, 2023
1 parent 795c424 commit cb56812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pbkdf2/src/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ impl Params {
impl Default for Params {
fn default() -> Params {
Params {
rounds: 10_000,
rounds: Self::RECOMMENDED_ROUNDS as u32,
output_length: 32,
}
}
Expand Down

0 comments on commit cb56812

Please sign in to comment.