Soenneker.Hashing.BCrypt 4.0.490

Prefix Reserved
dotnet add package Soenneker.Hashing.BCrypt --version 4.0.490
                    
NuGet\Install-Package Soenneker.Hashing.BCrypt -Version 4.0.490
                    
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="4.0.490" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Hashing.BCrypt" Version="4.0.490" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Hashing.BCrypt" />
                    
Project file
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 4.0.490
                    
#r "nuget: Soenneker.Hashing.BCrypt, 4.0.490"
                    
#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@4.0.490
                    
#: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=4.0.490
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Hashing.BCrypt&version=4.0.490
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image 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 workFactor for 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 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.

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.490 70 4/14/2026
4.0.489 89 3/31/2026
4.0.488 89 3/20/2026
4.0.487 89 3/19/2026
4.0.486 93 3/15/2026
4.0.485 89 3/13/2026
4.0.484 86 3/13/2026
4.0.483 95 3/12/2026
4.0.482 92 3/12/2026
4.0.480 94 3/12/2026
4.0.479 93 3/11/2026
4.0.478 92 3/11/2026
4.0.477 93 3/11/2026
4.0.476 92 3/11/2026
4.0.475 92 3/10/2026
4.0.474 94 3/10/2026
4.0.473 91 3/10/2026
4.0.472 92 3/10/2026
4.0.471 98 3/10/2026
4.0.470 91 3/10/2026
Loading failed

Update dependency Soenneker.Extensions.String to 4.0.666 (#848)