Skip to content

pbkdf2: have Pbkdf2::new take algorithm/params args#805

Merged
tarcieri merged 1 commit intomasterfrom
pbkdf2/change-phc-constructor
Jan 11, 2026
Merged

pbkdf2: have Pbkdf2::new take algorithm/params args#805
tarcieri merged 1 commit intomasterfrom
pbkdf2/change-phc-constructor

Conversation

@tarcieri
Copy link
Copy Markdown
Member

Changes this constructor to allow it to customize both the algorithm and params, leaving From impls for Algorithm and Params as the way to customize one or the other while using defaults for the one not explicitly specified.

Changes this constructor to allow it to customize both the algorithm and
params, leaving `From` impls for `Algorithm` and `Params` as the way to
customize one or the other while using defaults for the one not
explicitly specified.
@tarcieri tarcieri merged commit 62dd4ad into master Jan 11, 2026
15 checks passed
@tarcieri tarcieri deleted the pbkdf2/change-phc-constructor branch January 11, 2026 19:43
@tarcieri tarcieri mentioned this pull request Apr 20, 2026
tarcieri added a commit that referenced this pull request Apr 21, 2026
## Added
- Customizable `Params` for `Pbkdf2` type (#79])
- Modular Crypt Format (MCF) support (#806, #808)
- `alloc` feature (#816)
- `kdf::{Kdf, Pbkdf}` implementations (#823)

## Changed
- Bump edition to 2024; MSRV 1.85 (#563)
- Use `EagerHash` in bounds (#592)
- Use `phc` crate for PHC hash types (#761)
- Rename `simple` features to `phc` (#776)
- Have `Pbkdf2::new` take algorithm/params args (#805)
- Fallible `Params` constructors (#810)
- Bump `password-hash` dependency to v0.6 (#848)
- Bump `digest` dependency to v0.11 (#849)
- Use 210,000 iterations for PBKDF2-HMAC-SHA512 per OWASP (#857)
- Bump `hmac` dependency to v0.13 (#870)
- Bump `sha2` to v0.11 (#872)

## Removed
- `parallel` crate feature (#702)
- `std` feature (#760)
- `sha1` feature (#853)
- `Sync` bounds (#876)
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.

1 participant