Soenneker.Hashing.Pbkdf2
4.0.30
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Soenneker.Hashing.Pbkdf2 --version 4.0.30
NuGet\Install-Package Soenneker.Hashing.Pbkdf2 -Version 4.0.30
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Soenneker.Hashing.Pbkdf2" Version="4.0.30" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Hashing.Pbkdf2" Version="4.0.30" />
<PackageReference Include="Soenneker.Hashing.Pbkdf2" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Soenneker.Hashing.Pbkdf2 --version 4.0.30
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Hashing.Pbkdf2, 4.0.30"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Soenneker.Hashing.Pbkdf2@4.0.30
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Soenneker.Hashing.Pbkdf2&version=4.0.30
#tool nuget:?package=Soenneker.Hashing.Pbkdf2&version=4.0.30
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Hashing.Pbkdf2
A utility library for Pbkdf2 hashing and verification.
Install
dotnet add package Soenneker.Hashing.Pbkdf2
Quick start
using Soenneker.Hashing.Pbkdf2;
var result = Pbkdf2HashingUtil.TryHashToSpan(/* supply secret */ default!, /* supply dest */ default!, 1);
Span-first hasher that writes a PHC record into dest. Returns true on success and sets charsWritten.
What you get
Pbkdf2HashingUtil— A utility library for Pbkdf2 hashing and verification.
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
Pbkdf2HashingUtil.TryHashToSpan(secret, dest, charsWritten, iterations, saltBytes, hashBytes) |
Span-first hasher that writes a PHC record into dest. Returns true on success and sets charsWritten. |
true if span-first hasher that writes a PHC record into . Returns true on success and sets; otherwise, false. |
Pbkdf2HashingUtil.Verify(secret, phc) |
Span-first verifier; avoids allocating intermediate strings and never materializes the secret as a string. | true if span-first verifier; avoids allocating intermediate strings and never materializes the secret as a string; otherwise, false. |
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Soenneker.Hashing.Pbkdf2:
| Package | Downloads |
|---|---|
|
Soenneker.Validators.BasicAuth
A lightweight validation module for validating HTTP Basic Authentication credentials. |
|
|
Soenneker.Validators.BasicAuth.Functions
A validation module for validating HTTP Basic Authentication credentials in Functions. |
|
|
Soenneker.Flywheel.Core
A durable background job processing, scheduling, and event execution runtime for .NET. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.36 | 648 | 9/7/2026 |
| 4.0.35 | 120 | 9/7/2026 |
| 4.0.34 | 121 | 9/7/2026 |
| 4.0.33 | 195 | 9/7/2026 |
| 4.0.32 | 133 | 9/6/2026 |
| 4.0.31 | 534 | 8/30/2026 |
| 4.0.30 | 357 | 8/29/2026 |
| 4.0.29 | 91 | 8/29/2026 |
| 4.0.28 | 1,424 | 7/28/2026 |
| 4.0.27 | 510 | 7/16/2026 |
| 4.0.26 | 1,068 | 6/19/2026 |
| 4.0.25 | 1,339 | 6/5/2026 |
| 4.0.24 | 133 | 6/5/2026 |
| 4.0.22 | 1,965 | 3/12/2026 |
| 4.0.21 | 153 | 3/12/2026 |
| 4.0.19 | 336 | 3/12/2026 |
| 4.0.18 | 584 | 3/10/2026 |
| 4.0.17 | 414 | 3/9/2026 |
| 4.0.16 | 128 | 3/9/2026 |
| 4.0.15 | 122 | 3/9/2026 |
Loading failed
Improve README usability and API guidance