![]() |
VOOZH | about |
dotnet add package Soenneker.Hashing.Argon2 --version 4.0.775
NuGet\Install-Package Soenneker.Hashing.Argon2 -Version 4.0.775
<PackageReference Include="Soenneker.Hashing.Argon2" Version="4.0.775" />
<PackageVersion Include="Soenneker.Hashing.Argon2" Version="4.0.775" />Directory.Packages.props
<PackageReference Include="Soenneker.Hashing.Argon2" />Project file
paket add Soenneker.Hashing.Argon2 --version 4.0.775
#r "nuget: Soenneker.Hashing.Argon2, 4.0.775"
#:package Soenneker.Hashing.Argon2@4.0.775
#addin nuget:?package=Soenneker.Hashing.Argon2&version=4.0.775Install as a Cake Addin
#tool nuget:?package=Soenneker.Hashing.Argon2&version=4.0.775Install 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
dotnet add package Soenneker.Hashing.Argon2
string password = "SecurePassword123";
string hash = await Argon2HashingUtil.Hash(password);
// Result: A Base64-encoded hash string
Console.WriteLine(hash);
string password = "SecurePassword123";
string hash = await Argon2HashingUtil.Hash(password);
bool isValid = await Argon2HashingUtil.Verify(password, hash);
// Result: True if the password matches the hash
Console.WriteLine(isValid ? "Password is valid!" : "Invalid password.");
string password = "CustomPassword";
int saltSize = 32; // Custom salt size (bytes)
int hashSize = 64; // Custom hash size (bytes)
int iterations = 8; // Custom iteration count
int memorySize = 131072; // Custom memory size (KB)
int parallelism = 4; // Custom thread count
string hash = await Argon2HashingUtil.Hash(password, saltSize, hashSize, iterations, memorySize, parallelism);
bool isValid = await Argon2HashingUtil.Verify(password, hash, saltSize, hashSize, iterations, memorySize, parallelism);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.775 | 83 | 6/16/2026 |
| 4.0.774 | 91 | 6/16/2026 |
| 4.0.773 | 94 | 6/10/2026 |
| 4.0.772 | 91 | 6/10/2026 |
| 4.0.771 | 97 | 6/9/2026 |
| 4.0.770 | 98 | 6/6/2026 |
| 4.0.769 | 93 | 6/6/2026 |
| 4.0.768 | 96 | 6/6/2026 |
| 4.0.767 | 104 | 6/5/2026 |
| 4.0.766 | 97 | 6/5/2026 |
| 4.0.765 | 94 | 6/5/2026 |
| 4.0.764 | 99 | 6/5/2026 |
| 4.0.763 | 105 | 5/13/2026 |
| 4.0.762 | 133 | 5/2/2026 |
| 4.0.761 | 123 | 4/23/2026 |
| 4.0.760 | 117 | 4/23/2026 |
| 4.0.759 | 109 | 4/23/2026 |
| 4.0.758 | 113 | 4/23/2026 |
| 4.0.757 | 104 | 4/22/2026 |
| 4.0.756 | 100 | 4/22/2026 |
Update dependency Soenneker.Extensions.String to 4.0.690 (#1219)