Skip to content

Add PartialEq to scrypt::Params#490

Merged
tarcieri merged 1 commit intoRustCrypto:masterfrom
uglyoldbob:master
Apr 26, 2024
Merged

Add PartialEq to scrypt::Params#490
tarcieri merged 1 commit intoRustCrypto:masterfrom
uglyoldbob:master

Conversation

@uglyoldbob
Copy link
Copy Markdown
Contributor

This allows for PartialEq structs that contain an scrypt Params to also be PartialEq.

@newpavlov
Copy link
Copy Markdown
Member

It also may be worth to derive Eq and Hash.

@tarcieri tarcieri merged commit cf91c17 into RustCrypto:master Apr 26, 2024
@tarcieri tarcieri mentioned this pull request Apr 21, 2026
tarcieri added a commit that referenced this pull request Apr 22, 2026
## Added
- Implement `PartialEq` for `scrypt::Params` (#490)
- `Params::n` method (#544)
- `parallel` feature using `rayon` (#733, #785)
- `mcf` feature for Modular Crypt Format support (#781, #806)
- SSE2/simd128 `RoMix` data layout optimization (#622)
- Customizable `Params` for `Scrypt` type (#797)
- Implement `kdf::{Kdf, Pbkdf}` for `Scrypt` (#823)

## Changed
- Make methods of `scrypt::Params` into `const fn` (#508)
- Bump edition to 2024; MSRV 1.85 (#563)
- Split `Params::new` and `Params::new_with_output_len` (#602)
- Use the `phc` crate for `PasswordHash` and related types (#761)
- Switch from `std::error::Error` to `core::error::Error` (#767)
- Rename `simple` feature to `phc` (#776)
- Migrate from `subtle` to `ctutils` (#845)
- Bump `password-hash` dependency to v0.6 (#848)
- Bump `sha2` to v0.11 (#872)
- Bump `salsa20` dependency to v0.11 (#875)
- Bump `pbkdf2` dependency to v0.13 (#885)

## Removed
- `Display` and `FromStr` impls for `Params` (#824)
- Incorrect `N` upper-bound check from `Params::new` (#867)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants