Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 33 additions & 3 deletions password-hash/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,45 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 0.6.0 (UNRELEASED)
## 0.6.0 (2026-03-10)
### Added
- Generic `H` param to traits to support multiple string formats e.g. PHC, MCF ([#2110])
- Implement `From<phc::Error>` for `Error` ([#2124])
- `rand_core` feature ([#2126])
- Salt generating helper functions `(try_)generate_salt` ([#2128])
- `Error::RngFailure` variant ([#2337])

### Changed
- Edition changed to 2024 and MSRV bumped to 1.85 ([#1759])
- Bump `rand_core` to v0.10 ([#2250])
- Extract `CustomizedPasswordHasher` trait ([#2105])
- Bump `getrandom` to v0.4 ([#2258])

### Removed
- `Encoding` enum ([#2102])
- PHC types moved to the `phc` crate, which is re-exported as `password_hash::phc` when the `phc`
crate feature is enabled ([#2103], [#2116]):
- `Ident`
- `Output`
- `ParamsString`
- `PasswordHash`
- `PasswordHashString`
- `Salt`
- `SaltString`
- `Value`
- `McfHasher` trait ([#2334])

[#1759]: https://github.com/RustCrypto/traits/pull/1759
[#2250]: https://github.com/RustCrypto/traits/pull/2250
[#2102]: https://github.com/RustCrypto/traits/pull/2102
[#2103]: https://github.com/RustCrypto/traits/pull/2103
[#2105]: https://github.com/RustCrypto/traits/pull/2105
[#2110]: https://github.com/RustCrypto/traits/pull/2110
[#2116]: https://github.com/RustCrypto/traits/pull/2116
[#2124]: https://github.com/RustCrypto/traits/pull/2124
[#2126]: https://github.com/RustCrypto/traits/pull/2126
[#2128]: https://github.com/RustCrypto/traits/pull/2128
[#2258]: https://github.com/RustCrypto/traits/pull/2258
[#2334]: https://github.com/RustCrypto/traits/pull/2334
[#2337]: https://github.com/RustCrypto/traits/pull/2337

## 0.5.0 (2023-03-04)
### Added
Expand Down
4 changes: 2 additions & 2 deletions password-hash/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "password-hash"
version = "0.6.0-rc.12"
version = "0.6.0"
authors = ["RustCrypto Developers"]
edition = "2024"
rust-version = "1.85"
Expand All @@ -12,7 +12,7 @@ categories = ["authentication", "cryptography", "no-std"]
keywords = ["crypt", "mcf", "password", "pbkdf", "phc"]
description = """
Traits which describe the functionality of password hashing algorithms, with optional support for a
`no_std`-friendly implementation of the PHC string format, as well as generic support for other
`no_std`/`no_alloc`-friendly implementation of the PHC string format, as well as generic support for other
formats (e.g. Modular Crypt Format)
"""

Expand Down
2 changes: 1 addition & 1 deletion password-hash/LICENSE-MIT
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2020-2025 RustCrypto Developers
Copyright (c) 2020-2026 RustCrypto Developers

Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
Expand Down