Skip to content

Commit 01b44a6

Browse files
authored
password-hash v0.6.0 (#2338)
## 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) - 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)
1 parent 866ef69 commit 01b44a6

4 files changed

Lines changed: 37 additions & 7 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

password-hash/CHANGELOG.md

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,45 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## 0.6.0 (UNRELEASED)
8+
## 0.6.0 (2026-03-10)
9+
### Added
10+
- Generic `H` param to traits to support multiple string formats e.g. PHC, MCF ([#2110])
11+
- Implement `From<phc::Error>` for `Error` ([#2124])
12+
- `rand_core` feature ([#2126])
13+
- Salt generating helper functions `(try_)generate_salt` ([#2128])
14+
- `Error::RngFailure` variant ([#2337])
15+
916
### Changed
1017
- Edition changed to 2024 and MSRV bumped to 1.85 ([#1759])
11-
- Bump `rand_core` to v0.10 ([#2250])
18+
- Extract `CustomizedPasswordHasher` trait ([#2105])
1219
- Bump `getrandom` to v0.4 ([#2258])
1320

21+
### Removed
22+
- `Encoding` enum ([#2102])
23+
- PHC types moved to the `phc` crate, which is re-exported as `password_hash::phc` when the `phc`
24+
crate feature is enabled ([#2103], [#2116]):
25+
- `Ident`
26+
- `Output`
27+
- `ParamsString`
28+
- `PasswordHash`
29+
- `PasswordHashString`
30+
- `Salt`
31+
- `SaltString`
32+
- `Value`
33+
- `McfHasher` trait ([#2334])
34+
1435
[#1759]: https://github.com/RustCrypto/traits/pull/1759
15-
[#2250]: https://github.com/RustCrypto/traits/pull/2250
36+
[#2102]: https://github.com/RustCrypto/traits/pull/2102
37+
[#2103]: https://github.com/RustCrypto/traits/pull/2103
38+
[#2105]: https://github.com/RustCrypto/traits/pull/2105
39+
[#2110]: https://github.com/RustCrypto/traits/pull/2110
40+
[#2116]: https://github.com/RustCrypto/traits/pull/2116
41+
[#2124]: https://github.com/RustCrypto/traits/pull/2124
42+
[#2126]: https://github.com/RustCrypto/traits/pull/2126
43+
[#2128]: https://github.com/RustCrypto/traits/pull/2128
1644
[#2258]: https://github.com/RustCrypto/traits/pull/2258
45+
[#2334]: https://github.com/RustCrypto/traits/pull/2334
46+
[#2337]: https://github.com/RustCrypto/traits/pull/2337
1747

1848
## 0.5.0 (2023-03-04)
1949
### Added

password-hash/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "password-hash"
3-
version = "0.6.0-rc.12"
3+
version = "0.6.0"
44
authors = ["RustCrypto Developers"]
55
edition = "2024"
66
rust-version = "1.85"
@@ -12,7 +12,7 @@ categories = ["authentication", "cryptography", "no-std"]
1212
keywords = ["crypt", "mcf", "password", "pbkdf", "phc"]
1313
description = """
1414
Traits which describe the functionality of password hashing algorithms, with optional support for a
15-
`no_std`-friendly implementation of the PHC string format, as well as generic support for other
15+
`no_std`/`no_alloc`-friendly implementation of the PHC string format, as well as generic support for other
1616
formats (e.g. Modular Crypt Format)
1717
"""
1818

password-hash/LICENSE-MIT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2020-2025 RustCrypto Developers
1+
Copyright (c) 2020-2026 RustCrypto Developers
22

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

0 commit comments

Comments
 (0)