Skip to content

Commit

Permalink
Add PartialEq to scrypt::Params (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
uglyoldbob committed Apr 26, 2024
1 parent 8c270a3 commit cf91c17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrypt/src/params.rs
Expand Up @@ -6,7 +6,7 @@ use crate::errors::InvalidParams;
use password_hash::{errors::InvalidValue, Error, ParamsString, PasswordHash};

/// The Scrypt parameter values.
#[derive(Clone, Copy, Debug)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct Params {
pub(crate) log_n: u8,
pub(crate) r: u32,
Expand Down

0 comments on commit cf91c17

Please sign in to comment.