Soenneker.Hashing.BCrypt
3.0.151
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.BCrypt --version 3.0.151
NuGet\Install-Package Soenneker.Hashing.BCrypt -Version 3.0.151
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.BCrypt" Version="3.0.151" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Hashing.BCrypt" Version="3.0.151" />
<PackageReference Include="Soenneker.Hashing.BCrypt" />
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.BCrypt --version 3.0.151
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Hashing.BCrypt, 3.0.151"
#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.BCrypt@3.0.151
#: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.BCrypt&version=3.0.151
#tool nuget:?package=Soenneker.Hashing.BCrypt&version=3.0.151
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Hashing.BCrypt
A utility library for BCrypt hashing and verification
Features
- Hash passwords: Securely hash passwords.
- Verify passwords: Check if a password matches a hash.
- Custom security: Adjust the
workFactorfor extra security.
Installation
dotnet add package Soenneker.Hashing.BCrypt
Usage
Hash a Password
string hash = BCryptUtil.Hash("MyPassword");
Verify a Password
bool isValid = BCryptUtil.Verify("MyPassword", hash);
Custom Work Factor
string hash = BCryptUtil.Hash("MyPassword", workFactor: 12);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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.
-
net9.0
- BCrypt.Net-Next (>= 4.0.3)
- Soenneker.Extensions.String (>= 3.0.377)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.496 | 0 | 4/23/2026 |
| 4.0.495 | 3 | 4/23/2026 |
| 4.0.494 | 44 | 4/23/2026 |
| 4.0.493 | 86 | 4/22/2026 |
| 4.0.492 | 83 | 4/21/2026 |
| 4.0.491 | 81 | 4/20/2026 |
| 4.0.490 | 90 | 4/14/2026 |
| 4.0.489 | 92 | 3/31/2026 |
| 4.0.488 | 92 | 3/20/2026 |
| 4.0.487 | 94 | 3/19/2026 |
| 4.0.486 | 96 | 3/15/2026 |
| 4.0.485 | 92 | 3/13/2026 |
| 4.0.484 | 89 | 3/13/2026 |
| 4.0.483 | 98 | 3/12/2026 |
| 4.0.482 | 95 | 3/12/2026 |
| 4.0.480 | 97 | 3/12/2026 |
| 4.0.479 | 96 | 3/11/2026 |
| 4.0.478 | 95 | 3/11/2026 |
| 4.0.477 | 96 | 3/11/2026 |
| 3.0.151 | 153 | 1/17/2025 |
Loading failed