From e3ff5d31eed918b20bb9769c0d752b3c83428cf0 Mon Sep 17 00:00:00 2001 From: Tony Arcieri Date: Tue, 21 Apr 2026 16:47:10 -0600 Subject: [PATCH] scrypt v0.12.0 --- Cargo.lock | 2 +- password-auth/Cargo.toml | 2 +- scrypt/CHANGELOG.md | 50 ++++++++++++++++++++++++++++++++++++++++ scrypt/Cargo.toml | 2 +- 4 files changed, 53 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9e80d384..2c4a8f79 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -544,7 +544,7 @@ dependencies = [ [[package]] name = "scrypt" -version = "0.12.0-rc.10" +version = "0.12.0" dependencies = [ "cfg-if", "ctutils", diff --git a/password-auth/Cargo.toml b/password-auth/Cargo.toml index 40fd7a3a..017593bc 100644 --- a/password-auth/Cargo.toml +++ b/password-auth/Cargo.toml @@ -23,7 +23,7 @@ password-hash = { version = "0.6", features = ["alloc", "getrandom", "phc"] } # optional dependencies argon2 = { version = "0.6.0-rc.7", optional = true, default-features = false, features = ["alloc", "password-hash"] } pbkdf2 = { version = "0.13", optional = true, default-features = false, features = ["phc"] } -scrypt = { version = "0.12.0-rc.10", optional = true, default-features = false, features = ["phc"] } +scrypt = { version = "0.12", optional = true, default-features = false, features = ["phc"] } [features] default = ["argon2"] diff --git a/scrypt/CHANGELOG.md b/scrypt/CHANGELOG.md index a42566d8..9961fb13 100644 --- a/scrypt/CHANGELOG.md +++ b/scrypt/CHANGELOG.md @@ -5,6 +5,56 @@ 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.12.0 (2026-04-22) +### 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]) + +[#490]: https://github.com/RustCrypto/password-hashes/pull/490 +[#508]: https://github.com/RustCrypto/password-hashes/pull/508 +[#544]: https://github.com/RustCrypto/password-hashes/pull/544 +[#563]: https://github.com/RustCrypto/password-hashes/pull/563 +[#602]: https://github.com/RustCrypto/password-hashes/pull/602 +[#622]: https://github.com/RustCrypto/password-hashes/pull/622 +[#733]: https://github.com/RustCrypto/password-hashes/pull/733 +[#761]: https://github.com/RustCrypto/password-hashes/pull/761 +[#767]: https://github.com/RustCrypto/password-hashes/pull/767 +[#776]: https://github.com/RustCrypto/password-hashes/pull/776 +[#781]: https://github.com/RustCrypto/password-hashes/pull/781 +[#785]: https://github.com/RustCrypto/password-hashes/pull/785 +[#797]: https://github.com/RustCrypto/password-hashes/pull/797 +[#806]: https://github.com/RustCrypto/password-hashes/pull/806 +[#823]: https://github.com/RustCrypto/password-hashes/pull/823 +[#824]: https://github.com/RustCrypto/password-hashes/pull/824 +[#845]: https://github.com/RustCrypto/password-hashes/pull/845 +[#848]: https://github.com/RustCrypto/password-hashes/pull/848 +[#867]: https://github.com/RustCrypto/password-hashes/pull/867 +[#872]: https://github.com/RustCrypto/password-hashes/pull/872 +[#875]: https://github.com/RustCrypto/password-hashes/pull/875 +[#885]: https://github.com/RustCrypto/password-hashes/pull/885 + ## 0.11.0 (2023-03-04) ### Added - Ability to use custom output key length ([#255]) diff --git a/scrypt/Cargo.toml b/scrypt/Cargo.toml index bdbb9fc6..3123142f 100644 --- a/scrypt/Cargo.toml +++ b/scrypt/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "scrypt" -version = "0.12.0-rc.10" +version = "0.12.0" description = "Scrypt password-based key derivation function" authors = ["RustCrypto Developers"] license = "MIT OR Apache-2.0"