Soenneker.Hashing.Argon2 3.0.98

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.98                
NuGet\Install-Package Soenneker.Hashing.Argon2 -Version 3.0.98                
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.98" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Hashing.Argon2 --version 3.0.98                
#r "nuget: Soenneker.Hashing.Argon2, 3.0.98"                
#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.
// Install Soenneker.Hashing.Argon2 as a Cake Addin
#addin nuget:?package=Soenneker.Hashing.Argon2&version=3.0.98

// Install Soenneker.Hashing.Argon2 as a Cake Tool
#tool nuget:?package=Soenneker.Hashing.Argon2&version=3.0.98                

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.493 25 3/12/2025
3.0.492 34 3/12/2025
3.0.491 62 3/11/2025
3.0.490 60 3/11/2025
3.0.489 73 3/11/2025
3.0.488 67 3/11/2025
3.0.487 69 3/11/2025
3.0.486 65 3/11/2025
3.0.485 73 3/11/2025
3.0.484 65 3/11/2025
3.0.483 64 3/11/2025
3.0.482 61 3/11/2025
3.0.481 64 3/11/2025
3.0.480 66 3/11/2025
3.0.479 196 3/7/2025
3.0.478 182 3/7/2025
3.0.477 188 3/7/2025
3.0.476 193 3/7/2025
3.0.475 99 3/2/2025
3.0.474 77 3/2/2025
3.0.473 71 3/2/2025
3.0.472 78 3/2/2025
3.0.471 79 3/2/2025
3.0.470 79 3/2/2025
3.0.469 77 3/2/2025
3.0.468 76 3/2/2025
3.0.467 76 3/2/2025
3.0.466 77 3/2/2025
3.0.465 77 3/1/2025
3.0.464 76 3/1/2025
3.0.463 79 3/1/2025
3.0.462 80 3/1/2025
3.0.461 75 3/1/2025
3.0.460 78 3/1/2025
3.0.459 79 3/1/2025
3.0.458 79 3/1/2025
3.0.457 80 3/1/2025
3.0.456 79 3/1/2025
3.0.455 78 3/1/2025
3.0.454 79 3/1/2025
3.0.453 72 3/1/2025
3.0.452 69 3/1/2025
3.0.451 83 2/26/2025
3.0.450 83 2/25/2025
3.0.449 83 2/25/2025
3.0.448 77 2/25/2025
3.0.447 77 2/25/2025
3.0.446 76 2/25/2025
3.0.445 80 2/24/2025
3.0.444 69 2/24/2025
3.0.443 92 2/23/2025
3.0.442 72 2/23/2025
3.0.441 76 2/23/2025
3.0.440 76 2/23/2025
3.0.439 75 2/23/2025
3.0.438 78 2/22/2025
3.0.437 76 2/22/2025
3.0.436 81 2/22/2025
3.0.435 80 2/22/2025
3.0.434 73 2/22/2025
3.0.433 73 2/22/2025
3.0.432 75 2/22/2025
3.0.431 77 2/22/2025
3.0.430 77 2/22/2025
3.0.429 79 2/22/2025
3.0.428 77 2/21/2025
3.0.427 78 2/21/2025
3.0.426 86 2/21/2025
3.0.425 86 2/21/2025
3.0.424 84 2/21/2025
3.0.423 84 2/21/2025
3.0.422 85 2/19/2025
3.0.421 90 2/19/2025
3.0.420 81 2/19/2025
3.0.419 86 2/19/2025
3.0.418 84 2/19/2025
3.0.417 89 2/19/2025
3.0.416 80 2/19/2025
3.0.415 90 2/19/2025
3.0.414 83 2/19/2025
3.0.413 84 2/19/2025
3.0.412 83 2/18/2025
3.0.411 83 2/18/2025
3.0.410 92 2/18/2025
3.0.409 90 2/18/2025
3.0.408 89 2/18/2025
3.0.407 75 2/18/2025
3.0.406 91 2/18/2025
3.0.405 86 2/14/2025
3.0.404 84 2/14/2025
3.0.403 85 2/14/2025
3.0.402 83 2/13/2025
3.0.401 81 2/13/2025
3.0.400 87 2/13/2025
3.0.399 85 2/12/2025
3.0.398 97 2/12/2025
3.0.397 90 2/12/2025
3.0.396 86 2/12/2025
3.0.395 89 2/12/2025
3.0.394 95 2/12/2025
3.0.393 85 2/12/2025
3.0.392 81 2/12/2025
3.0.391 88 2/12/2025
3.0.390 85 2/12/2025
3.0.389 94 2/11/2025
3.0.388 86 2/11/2025
3.0.387 93 2/11/2025
3.0.386 88 2/11/2025
3.0.385 90 2/11/2025
3.0.384 87 2/11/2025
3.0.383 82 2/11/2025
3.0.382 81 2/11/2025
3.0.381 84 2/11/2025
3.0.380 85 2/11/2025
3.0.379 81 2/11/2025
3.0.378 84 2/11/2025
3.0.377 89 2/11/2025
3.0.376 85 2/11/2025
3.0.375 85 2/11/2025
3.0.374 91 2/10/2025
3.0.373 86 2/10/2025
3.0.372 81 2/10/2025
3.0.371 84 2/10/2025
3.0.370 86 2/10/2025
3.0.369 89 2/10/2025
3.0.368 88 2/10/2025
3.0.367 88 2/10/2025
3.0.366 90 2/10/2025
3.0.365 82 2/10/2025
3.0.364 79 2/9/2025
3.0.363 74 2/9/2025
3.0.362 88 2/9/2025
3.0.361 81 2/9/2025
3.0.360 84 2/9/2025
3.0.359 81 2/9/2025
3.0.358 82 2/8/2025
3.0.357 85 2/8/2025
3.0.356 81 2/8/2025
3.0.355 82 2/8/2025
3.0.354 83 2/8/2025
3.0.353 76 2/8/2025
3.0.352 79 2/8/2025
3.0.351 83 2/8/2025
3.0.350 75 2/8/2025
3.0.349 82 2/7/2025
3.0.348 78 2/7/2025
3.0.347 81 2/7/2025
3.0.346 79 2/7/2025
3.0.345 80 2/7/2025
3.0.344 83 2/7/2025
3.0.343 80 2/7/2025
3.0.342 76 2/7/2025
3.0.341 84 2/7/2025
3.0.340 79 2/7/2025
3.0.339 78 2/7/2025
3.0.338 82 2/7/2025
3.0.337 83 2/7/2025
3.0.336 80 2/7/2025
3.0.335 80 2/7/2025
3.0.334 73 2/7/2025
3.0.333 78 2/7/2025
3.0.332 77 2/7/2025
3.0.331 79 2/7/2025
3.0.330 78 2/6/2025
3.0.329 78 2/6/2025
3.0.328 81 2/5/2025
3.0.327 86 2/5/2025
3.0.326 85 2/5/2025
3.0.325 79 2/5/2025
3.0.324 86 2/5/2025
3.0.323 82 2/5/2025
3.0.322 85 2/5/2025
3.0.321 84 2/5/2025
3.0.320 90 2/5/2025
3.0.319 87 1/28/2025
3.0.318 71 1/28/2025
3.0.317 79 1/28/2025
3.0.316 79 1/28/2025
3.0.315 70 1/28/2025
3.0.314 67 1/28/2025
3.0.313 76 1/28/2025
3.0.312 80 1/28/2025
3.0.311 75 1/27/2025
3.0.310 73 1/27/2025
3.0.309 71 1/27/2025
3.0.308 74 1/27/2025
3.0.307 82 1/27/2025
3.0.306 80 1/27/2025
3.0.305 86 1/26/2025
3.0.304 79 1/26/2025
3.0.303 73 1/26/2025
3.0.302 86 1/26/2025
3.0.301 75 1/26/2025
3.0.300 78 1/26/2025
3.0.299 77 1/26/2025
3.0.298 80 1/26/2025
3.0.297 77 1/25/2025
3.0.296 78 1/25/2025
3.0.295 75 1/25/2025
3.0.294 76 1/25/2025
3.0.293 77 1/25/2025
3.0.292 76 1/25/2025
3.0.291 76 1/25/2025
3.0.290 73 1/25/2025
3.0.289 73 1/25/2025
3.0.288 70 1/24/2025
3.0.287 68 1/24/2025
3.0.286 66 1/24/2025
3.0.285 67 1/24/2025
3.0.284 77 1/24/2025
3.0.283 82 1/24/2025
3.0.282 76 1/24/2025
3.0.281 74 1/24/2025
3.0.280 70 1/24/2025
3.0.279 74 1/24/2025
3.0.278 77 1/24/2025
3.0.277 80 1/23/2025
3.0.276 78 1/23/2025
3.0.275 75 1/23/2025
3.0.274 79 1/23/2025
3.0.273 71 1/23/2025
3.0.272 75 1/22/2025
3.0.271 76 1/22/2025
3.0.270 73 1/22/2025
3.0.269 84 1/21/2025
3.0.268 80 1/21/2025
3.0.266 74 1/21/2025
3.0.265 72 1/21/2025
3.0.264 83 1/21/2025
3.0.263 78 1/21/2025
3.0.262 79 1/21/2025
3.0.261 76 1/21/2025
3.0.260 77 1/21/2025
3.0.259 76 1/21/2025
3.0.258 76 1/21/2025
3.0.257 74 1/21/2025
3.0.256 83 1/21/2025
3.0.255 71 1/21/2025
3.0.254 75 1/21/2025
3.0.253 70 1/21/2025
3.0.252 82 1/21/2025
3.0.251 77 1/21/2025
3.0.250 74 1/21/2025
3.0.249 79 1/21/2025
3.0.248 75 1/21/2025
3.0.247 87 1/20/2025
3.0.246 77 1/20/2025
3.0.245 79 1/20/2025
3.0.244 76 1/20/2025
3.0.243 69 1/20/2025
3.0.242 79 1/20/2025
3.0.241 66 1/20/2025
3.0.240 71 1/20/2025
3.0.239 79 1/20/2025
3.0.238 80 1/20/2025
3.0.237 77 1/20/2025
3.0.236 81 1/20/2025
3.0.235 89 1/20/2025
3.0.234 80 1/20/2025
3.0.233 72 1/20/2025
3.0.232 78 1/20/2025
3.0.231 76 1/20/2025
3.0.230 76 1/20/2025
3.0.229 69 1/19/2025
3.0.228 77 1/19/2025
3.0.227 76 1/19/2025
3.0.226 68 1/19/2025
3.0.225 75 1/19/2025
3.0.224 71 1/19/2025
3.0.223 75 1/19/2025
3.0.222 72 1/19/2025
3.0.221 69 1/19/2025
3.0.220 71 1/19/2025
3.0.219 73 1/18/2025
3.0.218 68 1/18/2025
3.0.217 74 1/18/2025
3.0.216 70 1/18/2025
3.0.215 77 1/18/2025
3.0.214 78 1/18/2025
3.0.213 68 1/18/2025
3.0.212 75 1/18/2025
3.0.211 71 1/18/2025
3.0.210 83 1/17/2025
3.0.209 72 1/17/2025
3.0.208 71 1/17/2025
3.0.207 69 1/17/2025
3.0.206 72 1/17/2025
3.0.205 70 1/17/2025
3.0.204 84 1/17/2025
3.0.203 82 1/17/2025
3.0.202 67 1/17/2025
3.0.201 78 1/16/2025
3.0.200 75 1/16/2025
3.0.199 69 1/16/2025
3.0.198 78 1/16/2025
3.0.197 82 1/16/2025
3.0.196 84 1/16/2025
3.0.195 67 1/16/2025
3.0.194 70 1/16/2025
3.0.193 69 1/16/2025
3.0.192 69 1/16/2025
3.0.191 70 1/16/2025
3.0.190 69 1/16/2025
3.0.189 77 1/16/2025
3.0.188 68 1/15/2025
3.0.187 71 1/15/2025
3.0.186 72 1/15/2025
3.0.185 77 1/15/2025
3.0.184 77 1/15/2025
3.0.183 73 1/15/2025
3.0.182 66 1/15/2025
3.0.181 68 1/15/2025
3.0.180 77 1/15/2025
3.0.179 68 1/15/2025
3.0.178 65 1/15/2025
3.0.177 62 1/15/2025
3.0.176 62 1/15/2025
3.0.175 42 1/15/2025
3.0.174 41 1/15/2025
3.0.173 26 1/15/2025
3.0.172 24 1/15/2025
3.0.171 24 1/15/2025
3.0.170 23 1/15/2025
3.0.169 25 1/15/2025
3.0.168 40 1/14/2025
3.0.167 39 1/14/2025
3.0.166 32 1/14/2025
3.0.165 41 1/14/2025
3.0.164 34 1/14/2025
3.0.163 47 1/13/2025
3.0.162 44 1/13/2025
3.0.161 48 1/13/2025
3.0.160 43 1/13/2025
3.0.159 46 1/13/2025
3.0.158 49 1/13/2025
3.0.157 55 1/11/2025
3.0.156 53 1/11/2025
3.0.155 58 1/11/2025
3.0.154 52 1/11/2025
3.0.153 60 1/11/2025
3.0.152 55 1/11/2025
3.0.151 57 1/10/2025
3.0.150 56 1/10/2025
3.0.149 58 1/10/2025
3.0.148 55 1/10/2025
3.0.147 54 1/10/2025
3.0.146 55 1/10/2025
3.0.145 55 1/10/2025
3.0.144 54 1/10/2025
3.0.143 115 1/3/2025
3.0.142 111 1/3/2025
3.0.141 114 1/3/2025
3.0.140 111 1/3/2025
3.0.139 90 1/3/2025
3.0.138 86 1/3/2025
3.0.137 84 1/3/2025
3.0.136 84 1/3/2025
3.0.135 93 1/2/2025
3.0.134 91 1/2/2025
3.0.133 98 1/2/2025
3.0.132 94 1/2/2025
3.0.131 88 1/2/2025
3.0.130 86 1/2/2025
3.0.129 94 1/2/2025
3.0.128 101 1/1/2025
3.0.127 98 1/1/2025
3.0.126 95 1/1/2025
3.0.125 96 1/1/2025
3.0.124 95 1/1/2025
3.0.123 92 1/1/2025
3.0.122 96 1/1/2025
3.0.121 93 1/1/2025
3.0.120 94 1/1/2025
3.0.119 90 1/1/2025
3.0.118 85 1/1/2025
3.0.117 95 1/1/2025
3.0.116 95 12/31/2024
3.0.115 87 12/31/2024
3.0.114 92 12/31/2024
3.0.113 88 12/31/2024
3.0.112 83 12/31/2024
3.0.111 82 12/31/2024
3.0.110 84 12/31/2024
3.0.109 105 12/31/2024
3.0.108 103 12/31/2024
3.0.107 102 12/31/2024
3.0.106 107 12/31/2024
3.0.105 100 12/31/2024
3.0.104 79 12/31/2024
3.0.103 79 12/31/2024
3.0.102 79 12/31/2024
3.0.101 74 12/31/2024
3.0.100 76 12/31/2024
3.0.99 81 12/31/2024
3.0.98 84 12/31/2024
3.0.97 81 12/30/2024
3.0.96 78 12/30/2024
3.0.95 86 12/28/2024
3.0.94 80 12/28/2024
3.0.93 87 12/28/2024
3.0.92 84 12/28/2024
3.0.91 78 12/28/2024
3.0.90 82 12/27/2024
3.0.89 90 12/27/2024
3.0.88 83 12/27/2024
3.0.87 90 12/24/2024
3.0.86 78 12/24/2024
3.0.85 75 12/24/2024
3.0.84 82 12/24/2024
3.0.83 79 12/24/2024
3.0.82 83 12/24/2024
3.0.81 78 12/24/2024
3.0.80 78 12/24/2024
3.0.79 79 12/24/2024
3.0.78 86 12/24/2024
3.0.77 79 12/24/2024
3.0.76 80 12/24/2024
3.0.75 78 12/24/2024
3.0.74 78 12/24/2024
3.0.73 83 12/24/2024
3.0.72 77 12/24/2024
3.0.71 77 12/23/2024
3.0.70 82 12/23/2024
3.0.69 84 12/23/2024
3.0.68 82 12/23/2024
3.0.67 85 12/23/2024
3.0.66 79 12/23/2024
3.0.65 77 12/23/2024
3.0.64 83 12/23/2024
3.0.63 87 12/23/2024
3.0.62 76 12/23/2024
3.0.61 78 12/23/2024
3.0.60 91 12/22/2024
3.0.59 81 12/22/2024
3.0.58 80 12/22/2024
3.0.57 92 12/22/2024
3.0.56 77 12/22/2024
3.0.55 78 12/22/2024
3.0.54 86 12/22/2024
3.0.53 86 12/22/2024
3.0.52 81 12/22/2024
3.0.51 81 12/22/2024
3.0.50 89 12/22/2024
3.0.49 79 12/22/2024
3.0.48 95 12/22/2024
3.0.47 95 12/21/2024
3.0.46 84 12/21/2024
3.0.45 84 12/21/2024
3.0.44 84 12/21/2024
3.0.43 95 12/21/2024
3.0.42 83 12/21/2024
3.0.41 87 12/21/2024
3.0.40 81 12/21/2024
3.0.39 94 12/21/2024
3.0.38 85 12/21/2024
3.0.37 94 12/21/2024
3.0.36 83 12/21/2024
3.0.35 90 12/21/2024
3.0.34 95 12/21/2024
3.0.33 85 12/21/2024
3.0.32 88 12/20/2024
3.0.31 93 12/20/2024
3.0.30 95 12/20/2024
3.0.29 83 12/20/2024
3.0.28 82 12/20/2024
3.0.27 97 12/20/2024
3.0.26 78 12/20/2024
3.0.25 78 12/20/2024
3.0.24 92 12/20/2024
3.0.23 86 12/20/2024
3.0.22 93 12/20/2024
3.0.21 87 12/19/2024
3.0.20 83 12/19/2024
3.0.19 86 12/19/2024
3.0.18 83 12/19/2024
3.0.17 78 12/19/2024
3.0.16 85 12/19/2024
3.0.15 83 12/19/2024
3.0.14 85 12/19/2024
3.0.13 92 12/19/2024
3.0.12 84 12/19/2024
3.0.11 83 12/18/2024
3.0.9 95 12/17/2024
3.0.8 84 12/17/2024
3.0.7 90 12/17/2024
3.0.6 95 12/16/2024
3.0.5 97 12/16/2024
3.0.4 98 12/11/2024
3.0.3 105 12/11/2024
3.0.2 98 12/10/2024
3.0.1 97 12/10/2024