Soenneker.Hashing.Argon2 3.0.128

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Hashing.Argon2 --version 3.0.128
                    
NuGet\Install-Package Soenneker.Hashing.Argon2 -Version 3.0.128
                    
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.Argon2" Version="3.0.128" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Hashing.Argon2" Version="3.0.128" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Hashing.Argon2" />
                    
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.Argon2 --version 3.0.128
                    
#r "nuget: Soenneker.Hashing.Argon2, 3.0.128"
                    
#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.
#addin nuget:?package=Soenneker.Hashing.Argon2&version=3.0.128
                    
Install Soenneker.Hashing.Argon2 as a Cake Addin
#tool nuget:?package=Soenneker.Hashing.Argon2&version=3.0.128
                    
Install Soenneker.Hashing.Argon2 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 Soenneker.Hashing.Argon2

A utility library for Argon2 hashing and verification

Features

  • Password Hashing: Generates a secure, Base64-encoded hash for a plaintext password.
  • Password Verification: Verifies a plaintext password against a hashed value.
  • Fully customizable parameters for salt size, hash size, iterations, memory usage, and parallelism.

Installation

dotnet add package Soenneker.Hashing.Argon2

Usage

1. Hashing a Password
string password = "SecurePassword123";
string hash = await Argon2HashingUtil.Hash(password);

// Result: A Base64-encoded hash string
Console.WriteLine(hash);
2. Verifying a Password
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.");
3. Custom Parameters
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);

Default Parameters

  • Salt Size: 16 bytes
  • Hash Size: 32 bytes
  • Iterations: 4
  • Memory Size: 65536 KB
  • Parallelism: 2
Product 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. 
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
3.0.583 140 4/8/2025
3.0.582 136 4/8/2025
3.0.581 148 4/8/2025
3.0.580 139 4/8/2025
3.0.579 141 4/8/2025
3.0.578 142 4/8/2025
3.0.577 144 4/8/2025
3.0.576 145 4/8/2025
3.0.575 141 4/8/2025
3.0.574 142 4/8/2025
3.0.573 139 4/8/2025
3.0.572 139 4/8/2025
3.0.571 133 4/8/2025
3.0.570 138 4/8/2025
3.0.569 139 4/8/2025
3.0.568 143 4/8/2025
3.0.567 137 4/8/2025
3.0.566 141 4/7/2025
3.0.565 140 4/7/2025
3.0.564 140 4/7/2025
3.0.563 137 4/7/2025
3.0.562 144 4/7/2025
3.0.561 137 4/7/2025
3.0.560 143 4/7/2025
3.0.559 141 4/7/2025
3.0.558 141 4/7/2025
3.0.557 142 4/7/2025
3.0.556 139 4/7/2025
3.0.555 138 4/7/2025
3.0.554 141 4/7/2025
3.0.553 140 4/7/2025
3.0.552 139 4/7/2025
3.0.551 141 4/6/2025
3.0.550 141 4/6/2025
3.0.549 140 4/6/2025
3.0.548 138 4/6/2025
3.0.547 139 4/6/2025
3.0.546 145 4/6/2025
3.0.545 139 4/6/2025
3.0.544 120 4/6/2025
3.0.543 122 4/6/2025
3.0.542 118 4/6/2025
3.0.541 127 4/6/2025
3.0.540 117 4/6/2025
3.0.539 119 4/6/2025
3.0.538 123 4/6/2025
3.0.537 91 4/6/2025
3.0.536 93 4/6/2025
3.0.535 97 4/6/2025
3.0.534 94 4/5/2025
3.0.533 68 4/5/2025
3.0.532 72 4/5/2025
3.0.531 68 4/5/2025
3.0.530 74 4/5/2025
3.0.529 73 4/5/2025
3.0.528 73 4/5/2025
3.0.527 72 4/5/2025
3.0.526 67 4/4/2025
3.0.525 83 4/4/2025
3.0.524 138 4/4/2025
3.0.523 146 4/4/2025
3.0.522 132 4/1/2025
3.0.521 128 4/1/2025
3.0.520 133 4/1/2025
3.0.519 132 3/31/2025
3.0.518 130 3/31/2025
3.0.517 133 3/31/2025
3.0.516 129 3/31/2025
3.0.515 135 3/31/2025
3.0.514 70 3/29/2025
3.0.513 69 3/29/2025
3.0.512 73 3/29/2025
3.0.511 447 3/25/2025
3.0.510 442 3/25/2025
3.0.509 443 3/25/2025
3.0.508 456 3/25/2025
3.0.507 107 3/21/2025
3.0.506 102 3/21/2025
3.0.505 119 3/21/2025
3.0.504 120 3/21/2025
3.0.503 128 3/18/2025
3.0.502 130 3/18/2025
3.0.501 130 3/18/2025
3.0.500 128 3/18/2025
3.0.499 61 3/15/2025
3.0.498 58 3/15/2025
3.0.497 55 3/15/2025
3.0.496 59 3/15/2025
3.0.495 53 3/15/2025
3.0.493 143 3/12/2025
3.0.492 140 3/12/2025
3.0.491 145 3/11/2025
3.0.490 142 3/11/2025
3.0.489 154 3/11/2025
3.0.488 149 3/11/2025
3.0.487 150 3/11/2025
3.0.486 146 3/11/2025
3.0.485 155 3/11/2025
3.0.484 146 3/11/2025
3.0.483 147 3/11/2025
3.0.482 143 3/11/2025
3.0.481 146 3/11/2025
3.0.480 147 3/11/2025
3.0.479 204 3/7/2025
3.0.478 190 3/7/2025
3.0.477 196 3/7/2025
3.0.476 202 3/7/2025
3.0.475 106 3/2/2025
3.0.474 84 3/2/2025
3.0.473 78 3/2/2025
3.0.472 84 3/2/2025
3.0.471 85 3/2/2025
3.0.470 86 3/2/2025
3.0.469 84 3/2/2025
3.0.468 83 3/2/2025
3.0.467 81 3/2/2025
3.0.466 82 3/2/2025
3.0.465 84 3/1/2025
3.0.464 82 3/1/2025
3.0.463 85 3/1/2025
3.0.462 86 3/1/2025
3.0.461 81 3/1/2025
3.0.460 85 3/1/2025
3.0.459 86 3/1/2025
3.0.458 86 3/1/2025
3.0.457 87 3/1/2025
3.0.456 86 3/1/2025
3.0.455 83 3/1/2025
3.0.454 85 3/1/2025
3.0.453 78 3/1/2025
3.0.452 75 3/1/2025
3.0.451 88 2/26/2025
3.0.450 88 2/25/2025
3.0.449 89 2/25/2025
3.0.448 83 2/25/2025
3.0.447 83 2/25/2025
3.0.446 82 2/25/2025
3.0.445 85 2/24/2025
3.0.444 75 2/24/2025
3.0.443 98 2/23/2025
3.0.442 78 2/23/2025
3.0.441 81 2/23/2025
3.0.440 81 2/23/2025
3.0.439 80 2/23/2025
3.0.438 84 2/22/2025
3.0.437 81 2/22/2025
3.0.436 86 2/22/2025
3.0.435 86 2/22/2025
3.0.434 78 2/22/2025
3.0.433 78 2/22/2025
3.0.432 80 2/22/2025
3.0.431 82 2/22/2025
3.0.430 83 2/22/2025
3.0.429 85 2/22/2025
3.0.428 83 2/21/2025
3.0.427 84 2/21/2025
3.0.426 92 2/21/2025
3.0.425 92 2/21/2025
3.0.424 89 2/21/2025
3.0.423 90 2/21/2025
3.0.422 90 2/19/2025
3.0.421 95 2/19/2025
3.0.420 86 2/19/2025
3.0.419 92 2/19/2025
3.0.418 90 2/19/2025
3.0.417 94 2/19/2025
3.0.416 85 2/19/2025
3.0.415 95 2/19/2025
3.0.414 89 2/19/2025
3.0.413 89 2/19/2025
3.0.412 88 2/18/2025
3.0.411 88 2/18/2025
3.0.410 97 2/18/2025
3.0.409 95 2/18/2025
3.0.408 94 2/18/2025
3.0.407 80 2/18/2025
3.0.406 96 2/18/2025
3.0.405 91 2/14/2025
3.0.404 89 2/14/2025
3.0.403 90 2/14/2025
3.0.402 88 2/13/2025
3.0.401 87 2/13/2025
3.0.400 92 2/13/2025
3.0.399 90 2/12/2025
3.0.398 102 2/12/2025
3.0.397 95 2/12/2025
3.0.396 91 2/12/2025
3.0.395 94 2/12/2025
3.0.394 100 2/12/2025
3.0.393 90 2/12/2025
3.0.392 87 2/12/2025
3.0.391 93 2/12/2025
3.0.390 90 2/12/2025
3.0.389 99 2/11/2025
3.0.388 91 2/11/2025
3.0.387 98 2/11/2025
3.0.386 93 2/11/2025
3.0.385 95 2/11/2025
3.0.384 92 2/11/2025
3.0.383 87 2/11/2025
3.0.382 86 2/11/2025
3.0.381 89 2/11/2025
3.0.380 90 2/11/2025
3.0.379 87 2/11/2025
3.0.378 90 2/11/2025
3.0.377 95 2/11/2025
3.0.376 90 2/11/2025
3.0.375 90 2/11/2025
3.0.374 96 2/10/2025
3.0.373 91 2/10/2025
3.0.372 87 2/10/2025
3.0.371 90 2/10/2025
3.0.370 92 2/10/2025
3.0.369 94 2/10/2025
3.0.368 93 2/10/2025
3.0.367 93 2/10/2025
3.0.366 95 2/10/2025
3.0.365 87 2/10/2025
3.0.364 85 2/9/2025
3.0.363 80 2/9/2025
3.0.362 93 2/9/2025
3.0.361 86 2/9/2025
3.0.360 90 2/9/2025
3.0.359 87 2/9/2025
3.0.358 94 2/8/2025
3.0.357 90 2/8/2025
3.0.356 87 2/8/2025
3.0.355 88 2/8/2025
3.0.354 93 2/8/2025
3.0.353 81 2/8/2025
3.0.352 84 2/8/2025
3.0.351 89 2/8/2025
3.0.350 81 2/8/2025
3.0.349 88 2/7/2025
3.0.348 83 2/7/2025
3.0.347 86 2/7/2025
3.0.346 85 2/7/2025
3.0.345 86 2/7/2025
3.0.344 89 2/7/2025
3.0.343 86 2/7/2025
3.0.342 82 2/7/2025
3.0.341 90 2/7/2025
3.0.340 85 2/7/2025
3.0.339 83 2/7/2025
3.0.338 88 2/7/2025
3.0.337 89 2/7/2025
3.0.336 86 2/7/2025
3.0.335 85 2/7/2025
3.0.334 78 2/7/2025
3.0.333 83 2/7/2025
3.0.332 82 2/7/2025
3.0.331 84 2/7/2025
3.0.330 84 2/6/2025
3.0.329 84 2/6/2025
3.0.328 86 2/5/2025
3.0.327 91 2/5/2025
3.0.326 91 2/5/2025
3.0.325 84 2/5/2025
3.0.324 92 2/5/2025
3.0.323 94 2/5/2025
3.0.322 90 2/5/2025
3.0.321 89 2/5/2025
3.0.320 96 2/5/2025
3.0.319 92 1/28/2025
3.0.318 77 1/28/2025
3.0.317 84 1/28/2025
3.0.316 84 1/28/2025
3.0.315 76 1/28/2025
3.0.314 73 1/28/2025
3.0.313 83 1/28/2025
3.0.312 86 1/28/2025
3.0.311 80 1/27/2025
3.0.310 78 1/27/2025
3.0.309 76 1/27/2025
3.0.308 79 1/27/2025
3.0.307 87 1/27/2025
3.0.306 85 1/27/2025
3.0.305 91 1/26/2025
3.0.304 84 1/26/2025
3.0.303 78 1/26/2025
3.0.302 91 1/26/2025
3.0.301 80 1/26/2025
3.0.300 83 1/26/2025
3.0.299 83 1/26/2025
3.0.298 86 1/26/2025
3.0.297 82 1/25/2025
3.0.296 83 1/25/2025
3.0.295 80 1/25/2025
3.0.294 81 1/25/2025
3.0.293 82 1/25/2025
3.0.292 81 1/25/2025
3.0.291 81 1/25/2025
3.0.290 78 1/25/2025
3.0.289 78 1/25/2025
3.0.288 76 1/24/2025
3.0.287 73 1/24/2025
3.0.286 71 1/24/2025
3.0.285 72 1/24/2025
3.0.284 82 1/24/2025
3.0.283 87 1/24/2025
3.0.282 81 1/24/2025
3.0.281 79 1/24/2025
3.0.280 75 1/24/2025
3.0.279 80 1/24/2025
3.0.278 82 1/24/2025
3.0.277 84 1/23/2025
3.0.276 83 1/23/2025
3.0.275 80 1/23/2025
3.0.274 84 1/23/2025
3.0.273 76 1/23/2025
3.0.272 80 1/22/2025
3.0.271 81 1/22/2025
3.0.270 78 1/22/2025
3.0.269 89 1/21/2025
3.0.268 84 1/21/2025
3.0.266 79 1/21/2025
3.0.265 77 1/21/2025
3.0.264 88 1/21/2025
3.0.263 83 1/21/2025
3.0.262 84 1/21/2025
3.0.261 81 1/21/2025
3.0.260 82 1/21/2025
3.0.259 81 1/21/2025
3.0.258 81 1/21/2025
3.0.257 79 1/21/2025
3.0.256 88 1/21/2025
3.0.255 76 1/21/2025
3.0.254 80 1/21/2025
3.0.253 75 1/21/2025
3.0.252 87 1/21/2025
3.0.251 82 1/21/2025
3.0.250 79 1/21/2025
3.0.249 84 1/21/2025
3.0.248 80 1/21/2025
3.0.247 92 1/20/2025
3.0.246 82 1/20/2025
3.0.245 84 1/20/2025
3.0.244 81 1/20/2025
3.0.243 74 1/20/2025
3.0.242 84 1/20/2025
3.0.241 71 1/20/2025
3.0.240 76 1/20/2025
3.0.239 84 1/20/2025
3.0.238 85 1/20/2025
3.0.237 82 1/20/2025
3.0.236 86 1/20/2025
3.0.235 94 1/20/2025
3.0.234 85 1/20/2025
3.0.233 77 1/20/2025
3.0.232 83 1/20/2025
3.0.231 81 1/20/2025
3.0.230 81 1/20/2025
3.0.229 75 1/19/2025
3.0.228 82 1/19/2025
3.0.227 81 1/19/2025
3.0.226 73 1/19/2025
3.0.225 80 1/19/2025
3.0.224 76 1/19/2025
3.0.223 80 1/19/2025
3.0.222 77 1/19/2025
3.0.221 74 1/19/2025
3.0.220 76 1/19/2025
3.0.219 78 1/18/2025
3.0.218 73 1/18/2025
3.0.217 80 1/18/2025
3.0.216 76 1/18/2025
3.0.215 82 1/18/2025
3.0.214 83 1/18/2025
3.0.213 73 1/18/2025
3.0.212 79 1/18/2025
3.0.211 76 1/18/2025
3.0.210 88 1/17/2025
3.0.209 77 1/17/2025
3.0.208 76 1/17/2025
3.0.207 74 1/17/2025
3.0.206 77 1/17/2025
3.0.205 75 1/17/2025
3.0.204 88 1/17/2025
3.0.203 86 1/17/2025
3.0.202 72 1/17/2025
3.0.201 83 1/16/2025
3.0.200 80 1/16/2025
3.0.199 74 1/16/2025
3.0.198 82 1/16/2025
3.0.197 87 1/16/2025
3.0.196 89 1/16/2025
3.0.195 72 1/16/2025
3.0.194 75 1/16/2025
3.0.193 74 1/16/2025
3.0.192 74 1/16/2025
3.0.191 75 1/16/2025
3.0.190 74 1/16/2025
3.0.189 82 1/16/2025
3.0.188 73 1/15/2025
3.0.187 76 1/15/2025
3.0.186 77 1/15/2025
3.0.185 82 1/15/2025
3.0.184 82 1/15/2025
3.0.183 78 1/15/2025
3.0.182 71 1/15/2025
3.0.181 73 1/15/2025
3.0.180 82 1/15/2025
3.0.179 73 1/15/2025
3.0.178 70 1/15/2025
3.0.177 67 1/15/2025
3.0.176 67 1/15/2025
3.0.175 47 1/15/2025
3.0.174 46 1/15/2025
3.0.173 31 1/15/2025
3.0.172 29 1/15/2025
3.0.171 29 1/15/2025
3.0.170 28 1/15/2025
3.0.169 32 1/15/2025
3.0.168 47 1/14/2025
3.0.167 46 1/14/2025
3.0.166 39 1/14/2025
3.0.165 46 1/14/2025
3.0.164 39 1/14/2025
3.0.163 54 1/13/2025
3.0.162 51 1/13/2025
3.0.161 55 1/13/2025
3.0.160 48 1/13/2025
3.0.159 51 1/13/2025
3.0.158 56 1/13/2025
3.0.157 60 1/11/2025
3.0.156 58 1/11/2025
3.0.155 63 1/11/2025
3.0.154 57 1/11/2025
3.0.153 65 1/11/2025
3.0.152 60 1/11/2025
3.0.151 62 1/10/2025
3.0.150 61 1/10/2025
3.0.149 63 1/10/2025
3.0.148 60 1/10/2025
3.0.147 61 1/10/2025
3.0.146 62 1/10/2025
3.0.145 62 1/10/2025
3.0.144 61 1/10/2025
3.0.143 120 1/3/2025
3.0.142 116 1/3/2025
3.0.141 119 1/3/2025
3.0.140 116 1/3/2025
3.0.139 95 1/3/2025
3.0.138 91 1/3/2025
3.0.137 89 1/3/2025
3.0.136 89 1/3/2025
3.0.135 98 1/2/2025
3.0.134 96 1/2/2025
3.0.133 103 1/2/2025
3.0.132 99 1/2/2025
3.0.131 93 1/2/2025
3.0.130 91 1/2/2025
3.0.129 99 1/2/2025
3.0.128 106 1/1/2025
3.0.127 103 1/1/2025
3.0.126 100 1/1/2025
3.0.125 101 1/1/2025
3.0.124 100 1/1/2025
3.0.123 97 1/1/2025
3.0.122 101 1/1/2025
3.0.121 98 1/1/2025
3.0.120 99 1/1/2025
3.0.119 95 1/1/2025
3.0.118 90 1/1/2025
3.0.117 100 1/1/2025
3.0.116 100 12/31/2024
3.0.115 92 12/31/2024
3.0.114 98 12/31/2024
3.0.113 94 12/31/2024
3.0.112 88 12/31/2024
3.0.111 87 12/31/2024
3.0.110 89 12/31/2024
3.0.109 111 12/31/2024
3.0.108 109 12/31/2024
3.0.107 108 12/31/2024
3.0.106 112 12/31/2024
3.0.105 105 12/31/2024
3.0.104 85 12/31/2024
3.0.103 85 12/31/2024
3.0.102 84 12/31/2024
3.0.101 79 12/31/2024
3.0.100 81 12/31/2024
3.0.99 86 12/31/2024
3.0.98 89 12/31/2024
3.0.97 87 12/30/2024
3.0.96 84 12/30/2024
3.0.95 90 12/28/2024
3.0.94 84 12/28/2024
3.0.93 91 12/28/2024
3.0.92 88 12/28/2024
3.0.91 82 12/28/2024
3.0.90 86 12/27/2024
3.0.89 95 12/27/2024
3.0.88 89 12/27/2024
3.0.87 95 12/24/2024
3.0.86 84 12/24/2024
3.0.85 81 12/24/2024
3.0.84 88 12/24/2024
3.0.83 85 12/24/2024
3.0.82 89 12/24/2024
3.0.81 84 12/24/2024
3.0.80 83 12/24/2024
3.0.79 85 12/24/2024
3.0.78 92 12/24/2024
3.0.77 85 12/24/2024
3.0.76 85 12/24/2024
3.0.75 83 12/24/2024
3.0.74 83 12/24/2024
3.0.73 88 12/24/2024
3.0.72 83 12/24/2024
3.0.71 82 12/23/2024
3.0.70 87 12/23/2024
3.0.69 89 12/23/2024
3.0.68 88 12/23/2024
3.0.67 90 12/23/2024
3.0.66 86 12/23/2024
3.0.65 85 12/23/2024
3.0.64 90 12/23/2024
3.0.63 94 12/23/2024
3.0.62 83 12/23/2024
3.0.61 86 12/23/2024
3.0.60 99 12/22/2024
3.0.59 89 12/22/2024
3.0.58 87 12/22/2024
3.0.57 99 12/22/2024
3.0.56 85 12/22/2024
3.0.55 86 12/22/2024
3.0.54 94 12/22/2024
3.0.53 94 12/22/2024
3.0.52 88 12/22/2024
3.0.51 88 12/22/2024
3.0.50 97 12/22/2024
3.0.49 86 12/22/2024
3.0.48 102 12/22/2024
3.0.47 101 12/21/2024
3.0.46 90 12/21/2024
3.0.45 91 12/21/2024
3.0.44 91 12/21/2024
3.0.43 101 12/21/2024
3.0.42 89 12/21/2024
3.0.41 93 12/21/2024
3.0.40 87 12/21/2024
3.0.39 99 12/21/2024
3.0.38 90 12/21/2024
3.0.37 100 12/21/2024
3.0.36 89 12/21/2024
3.0.35 96 12/21/2024
3.0.34 100 12/21/2024
3.0.33 90 12/21/2024
3.0.32 93 12/20/2024
3.0.31 98 12/20/2024
3.0.30 100 12/20/2024
3.0.29 88 12/20/2024
3.0.28 88 12/20/2024
3.0.27 103 12/20/2024
3.0.26 83 12/20/2024
3.0.25 83 12/20/2024
3.0.24 96 12/20/2024
3.0.23 90 12/20/2024
3.0.22 98 12/20/2024
3.0.21 92 12/19/2024
3.0.20 87 12/19/2024
3.0.19 91 12/19/2024
3.0.18 87 12/19/2024
3.0.17 82 12/19/2024
3.0.16 89 12/19/2024
3.0.15 88 12/19/2024
3.0.14 90 12/19/2024
3.0.13 96 12/19/2024
3.0.12 88 12/19/2024
3.0.11 88 12/18/2024
3.0.9 99 12/17/2024
3.0.8 88 12/17/2024
3.0.7 96 12/17/2024
3.0.6 99 12/16/2024
3.0.5 101 12/16/2024
3.0.4 102 12/11/2024
3.0.3 110 12/11/2024
3.0.2 102 12/10/2024
3.0.1 101 12/10/2024