Soenneker.Hashing.Slhdsa 3.0.228

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

A utility library for SLH-DSA post-quantum hashing and verification

A compact and lightweight library for SLH-DSA (Stateless Hash-Based Digital Signature Algorithm), a post-quantum cryptographic standard providing robust security against classical and quantum attacks. SLH-DSA uses hash-based cryptography to ensure secure key generation, message signing, and signature verification.

Features

  • Generate SLH-DSA key pairs.
  • Sign and verify messages.
  • Supports multiple parameter sets (e.g., SHAKE-128F, SHA2-128F).
  • Thread-safe supporting concurrency.
  • Tests included.

Installation

dotnet add package Soenneker.Hashing.Slhdsa

Usage

1. Generate a public and private key pair

(string privateKey, string publicKey) = SlhDsaHashingUtil.GenerateKeyPair(); // Keys are Base64 strings

2. Sign the payload with the private key

string signature = SlhDsaHashingUtil.SignMessage("Hello, SLH-DSA!", privateKey); // Signaure is a Base64 string

3. Verify the signature with the public key

bool isValid = SlhDsaHashingUtil.VerifySignature("Hello, SLH-DSA!", signature, publicKey);

How to specify the optional parameter set:

var parameterSet = SlhDsaParameterType.SLH_DSA_SHAKE_128F;

(string privateKey, string publicKey) = SlhDsaHashingUtil.GenerateKeyPair(parameterSet);
string signature = SlhDsaHashingUtil.SignMessage("Hello, SLH-DSA!", privateKey, parameterSet);
bool isValid = SlhDsaHashingUtil.VerifySignature("Hello, SLH-DSA!", signature, publicKey, parameterSet);
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.  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.

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.405 41 1/3/2026
4.0.404 43 1/3/2026
4.0.403 43 1/2/2026
4.0.402 45 1/2/2026
4.0.401 242 12/15/2025
4.0.400 240 12/15/2025
4.0.399 106 12/12/2025
4.0.398 421 12/10/2025
4.0.397 390 11/21/2025
4.0.396 406 11/20/2025
4.0.395 401 11/20/2025
4.0.394 395 11/20/2025
4.0.393 280 11/11/2025
4.0.392 189 11/6/2025
4.0.391 187 11/6/2025
4.0.390 187 11/4/2025
4.0.389 193 10/30/2025
4.0.388 189 10/30/2025
4.0.387 194 10/30/2025
4.0.386 182 10/29/2025
4.0.385 186 10/29/2025
3.0.384 166 10/16/2025
3.0.383 310 9/16/2025
3.0.382 182 9/9/2025
3.0.381 194 9/3/2025
3.0.380 178 9/3/2025
3.0.379 184 9/3/2025
3.0.378 187 9/3/2025
3.0.377 149 8/16/2025
3.0.376 194 8/11/2025
3.0.375 177 8/11/2025
3.0.374 176 8/11/2025
3.0.373 179 8/11/2025
3.0.372 172 8/11/2025
3.0.371 239 8/5/2025
3.0.370 149 7/31/2025
3.0.369 130 7/29/2025
3.0.368 176 7/8/2025
3.0.367 131 6/28/2025
3.0.366 124 6/28/2025
3.0.365 133 6/27/2025
3.0.364 115 6/27/2025
3.0.363 205 6/24/2025
3.0.362 346 6/11/2025
3.0.361 330 6/10/2025
3.0.360 204 6/2/2025
3.0.359 187 5/27/2025
3.0.358 208 5/27/2025
3.0.357 208 5/27/2025
3.0.356 214 5/27/2025
3.0.355 155 5/25/2025
3.0.354 181 5/23/2025
3.0.353 195 5/23/2025
3.0.352 204 5/22/2025
3.0.351 198 5/22/2025
3.0.350 267 5/15/2025
3.0.349 284 5/14/2025
3.0.348 216 5/8/2025
3.0.347 212 5/8/2025
3.0.346 215 5/7/2025
3.0.345 209 5/5/2025
3.0.344 192 5/5/2025
3.0.343 206 5/5/2025
3.0.342 204 5/5/2025
3.0.341 206 5/5/2025
3.0.340 209 5/5/2025
3.0.339 191 5/5/2025
3.0.338 170 4/27/2025
3.0.337 138 4/26/2025
3.0.336 202 4/8/2025
3.0.335 218 4/8/2025
3.0.334 219 4/8/2025
3.0.333 229 4/8/2025
3.0.332 213 4/8/2025
3.0.331 226 4/8/2025
3.0.330 222 4/8/2025
3.0.329 219 4/8/2025
3.0.328 219 4/8/2025
3.0.327 205 4/8/2025
3.0.326 228 4/7/2025
3.0.325 215 4/7/2025
3.0.324 207 4/7/2025
3.0.323 216 4/7/2025
3.0.322 220 4/7/2025
3.0.321 231 4/7/2025
3.0.320 244 4/7/2025
3.0.319 222 4/7/2025
3.0.318 225 4/6/2025
3.0.317 223 4/6/2025
3.0.316 220 4/6/2025
3.0.315 244 4/6/2025
3.0.314 207 4/6/2025
3.0.313 215 4/6/2025
3.0.312 199 4/6/2025
3.0.311 206 4/6/2025
3.0.310 179 4/6/2025
3.0.309 179 4/6/2025
3.0.308 164 4/6/2025
3.0.307 176 4/6/2025
3.0.306 176 4/6/2025
3.0.305 163 4/6/2025
3.0.304 137 4/5/2025
3.0.303 143 4/5/2025
3.0.302 147 4/5/2025
3.0.301 146 4/5/2025
3.0.300 153 4/5/2025
3.0.299 163 4/4/2025
3.0.298 158 4/4/2025
3.0.297 209 4/3/2025
3.0.296 206 4/1/2025
3.0.295 210 3/31/2025
3.0.294 216 3/31/2025
3.0.293 137 3/29/2025
3.0.292 519 3/25/2025
3.0.291 546 3/25/2025
3.0.290 188 3/21/2025
3.0.289 212 3/18/2025
3.0.288 210 3/18/2025
3.0.287 148 3/15/2025
3.0.286 134 3/15/2025
3.0.285 224 3/12/2025
3.0.284 221 3/11/2025
3.0.283 228 3/11/2025
3.0.282 238 3/11/2025
3.0.281 245 3/11/2025
3.0.280 232 3/11/2025
3.0.279 227 3/11/2025
3.0.278 228 3/11/2025
3.0.277 280 3/7/2025
3.0.276 283 3/7/2025
3.0.275 159 3/2/2025
3.0.274 184 3/2/2025
3.0.273 152 3/2/2025
3.0.272 164 3/2/2025
3.0.271 167 3/2/2025
3.0.270 157 3/1/2025
3.0.269 162 3/1/2025
3.0.268 162 3/1/2025
3.0.267 155 3/1/2025
3.0.266 167 3/1/2025
3.0.265 160 3/1/2025
3.0.264 169 3/1/2025
3.0.263 157 3/1/2025
3.0.262 141 3/1/2025
3.0.261 152 3/1/2025
3.0.260 174 2/25/2025
3.0.259 152 2/25/2025
3.0.258 154 2/25/2025
3.0.257 157 2/25/2025
3.0.256 143 2/24/2025
3.0.255 148 2/24/2025
3.0.254 158 2/23/2025
3.0.253 171 2/23/2025
3.0.252 157 2/22/2025
3.0.251 154 2/22/2025
3.0.250 164 2/22/2025
3.0.249 150 2/22/2025
3.0.248 160 2/22/2025
3.0.247 150 2/21/2025
3.0.246 159 2/21/2025
3.0.245 183 2/21/2025
3.0.244 174 2/21/2025
3.0.243 149 2/19/2025
3.0.242 188 2/19/2025
3.0.241 165 2/19/2025
3.0.240 169 2/18/2025
3.0.239 169 2/18/2025
3.0.238 178 2/18/2025
3.0.237 163 2/18/2025
3.0.236 178 2/18/2025
3.0.235 173 2/14/2025
3.0.234 145 2/14/2025
3.0.233 160 2/13/2025
3.0.232 184 2/13/2025
3.0.231 156 2/12/2025
3.0.230 156 2/12/2025
3.0.229 167 2/12/2025
3.0.228 157 2/12/2025
3.0.227 168 2/12/2025
3.0.226 162 2/12/2025
3.0.225 163 2/11/2025
3.0.224 158 2/11/2025
3.0.223 162 2/11/2025
3.0.222 162 2/11/2025
3.0.221 172 2/11/2025
3.0.220 172 2/11/2025
3.0.219 181 2/11/2025
3.0.218 145 2/11/2025
3.0.217 166 2/10/2025
3.0.216 161 2/10/2025
3.0.215 162 2/10/2025
3.0.214 182 2/10/2025
3.0.213 168 2/9/2025
3.0.212 165 2/8/2025
3.0.211 158 2/8/2025
3.0.210 170 2/8/2025
3.0.209 154 2/8/2025
3.0.208 168 2/8/2025
3.0.207 155 2/8/2025
3.0.206 164 2/8/2025
3.0.205 156 2/8/2025
3.0.204 172 2/7/2025
3.0.203 170 2/7/2025
3.0.202 160 2/7/2025
3.0.201 162 2/7/2025
3.0.200 154 2/7/2025
3.0.199 178 2/7/2025
3.0.198 167 2/7/2025
3.0.197 146 2/7/2025
3.0.196 165 2/7/2025
3.0.195 137 2/7/2025
3.0.194 155 2/7/2025
3.0.193 142 2/7/2025
3.0.192 133 2/6/2025
3.0.191 157 2/5/2025
3.0.190 168 2/5/2025
3.0.189 166 2/5/2025
3.0.188 155 2/5/2025
3.0.187 164 2/5/2025
3.0.186 151 2/5/2025
3.0.185 152 1/28/2025
3.0.184 162 1/28/2025
3.0.183 152 1/28/2025
3.0.182 167 1/28/2025
3.0.181 162 1/27/2025
3.0.180 152 1/27/2025
3.0.179 158 1/27/2025
3.0.178 151 1/27/2025
3.0.177 157 1/27/2025
3.0.176 170 1/27/2025
3.0.175 166 1/27/2025
3.0.174 170 1/27/2025
3.0.173 157 1/27/2025
3.0.172 167 1/26/2025
3.0.171 153 1/26/2025
3.0.170 158 1/26/2025
3.0.169 160 1/26/2025
3.0.168 169 1/25/2025
3.0.167 159 1/25/2025
3.0.166 155 1/25/2025
3.0.165 156 1/25/2025
3.0.164 147 1/25/2025
3.0.163 155 1/25/2025
3.0.162 164 1/24/2025
3.0.161 159 1/24/2025
3.0.160 163 1/24/2025
3.0.159 156 1/24/2025
3.0.158 157 1/24/2025
3.0.157 162 1/23/2025
3.0.156 158 1/23/2025
3.0.155 159 1/23/2025
3.0.154 168 1/23/2025
3.0.153 165 1/22/2025
3.0.152 150 1/22/2025
3.0.151 173 1/21/2025
3.0.149 166 1/21/2025
3.0.148 139 1/21/2025
3.0.147 182 1/21/2025
3.0.146 165 1/21/2025
3.0.145 166 1/21/2025
3.0.144 168 1/21/2025
3.0.143 175 1/21/2025
3.0.142 154 1/21/2025
3.0.141 151 1/21/2025
3.0.140 155 1/21/2025
3.0.139 167 1/21/2025
3.0.138 151 1/21/2025
3.0.137 154 1/20/2025
3.0.136 161 1/20/2025
3.0.135 166 1/20/2025
3.0.134 147 1/20/2025
3.0.133 155 1/20/2025
3.0.132 168 1/20/2025
3.0.131 150 1/20/2025
3.0.130 171 1/20/2025
3.0.129 157 1/20/2025
3.0.128 161 1/20/2025
3.0.127 171 1/20/2025
3.0.126 154 1/20/2025
3.0.125 161 1/19/2025
3.0.124 157 1/19/2025
3.0.123 157 1/19/2025
3.0.122 161 1/19/2025
3.0.121 153 1/19/2025
3.0.120 157 1/19/2025
3.0.119 147 1/19/2025
3.0.118 168 1/18/2025
3.0.117 156 1/18/2025
3.0.116 153 1/18/2025
3.0.115 165 1/17/2025
3.0.114 157 1/17/2025
3.0.113 147 1/17/2025
3.0.112 148 1/17/2025
3.0.111 158 1/17/2025
3.0.110 154 1/17/2025
3.0.109 166 1/16/2025
3.0.108 163 1/16/2025
3.0.107 149 1/16/2025
3.0.106 165 1/16/2025
3.0.105 158 1/16/2025
3.0.104 162 1/16/2025
3.0.103 160 1/16/2025
3.0.102 158 1/15/2025
3.0.101 148 1/15/2025
3.0.100 146 1/15/2025
3.0.99 170 1/15/2025
3.0.98 163 1/15/2025
3.0.97 153 1/15/2025
3.0.96 131 1/15/2025
3.0.95 135 1/15/2025
3.0.94 143 1/15/2025
3.0.93 120 1/15/2025
3.0.92 136 1/15/2025
3.0.91 131 1/14/2025
3.0.90 136 1/14/2025
3.0.89 135 1/14/2025
3.0.88 140 1/14/2025
3.0.87 133 1/14/2025
3.0.86 141 1/14/2025
3.0.85 134 1/14/2025
3.0.84 134 1/14/2025
3.0.83 152 1/13/2025
3.0.82 149 1/13/2025
3.0.81 155 1/13/2025
3.0.80 142 1/13/2025
3.0.79 144 1/12/2025
3.0.78 143 1/12/2025
3.0.77 150 1/11/2025
3.0.76 179 1/11/2025
3.0.75 157 1/11/2025
3.0.74 148 1/11/2025
3.0.73 156 1/10/2025
3.0.72 163 1/10/2025
3.0.71 177 1/10/2025
3.0.70 153 1/10/2025
3.0.69 169 1/10/2025
3.0.68 165 1/10/2025
3.0.67 178 1/10/2025
3.0.66 166 1/10/2025
3.0.65 201 1/3/2025
3.0.64 203 1/3/2025
3.0.63 180 1/3/2025
3.0.62 171 1/3/2025
3.0.61 185 1/2/2025
3.0.60 175 1/2/2025
3.0.59 180 1/2/2025
3.0.58 177 1/2/2025
3.0.57 169 1/2/2025
3.0.56 166 1/2/2025
3.0.55 179 1/2/2025
3.0.54 157 1/1/2025
3.0.53 198 1/1/2025
3.0.52 190 1/1/2025
3.0.51 177 12/31/2024
3.0.50 191 12/31/2024
3.0.49 177 12/31/2024
3.0.48 179 12/31/2024
3.0.47 166 12/31/2024
3.0.46 189 12/31/2024
3.0.45 196 12/31/2024
3.0.44 166 12/31/2024
3.0.43 143 12/31/2024
3.0.42 176 12/31/2024
3.0.41 161 12/31/2024
3.0.40 149 12/31/2024
3.0.39 162 12/31/2024
3.0.38 189 12/31/2024
3.0.37 155 12/31/2024
3.0.36 176 12/31/2024
3.0.35 167 12/30/2024
3.0.34 173 12/28/2024
3.0.33 167 12/28/2024
3.0.32 167 12/27/2024
3.0.31 161 12/27/2024
3.0.30 173 12/24/2024
3.0.29 164 12/24/2024
3.0.28 158 12/24/2024
3.0.27 142 12/24/2024
3.0.26 158 12/24/2024
3.0.25 167 12/24/2024
3.0.24 166 12/24/2024
3.0.23 147 12/24/2024
3.0.22 161 12/24/2024
3.0.21 166 12/24/2024
3.0.20 171 12/24/2024
3.0.19 179 12/23/2024
3.0.18 143 12/23/2024
3.0.17 161 12/23/2024
3.0.16 168 12/23/2024
3.0.15 168 12/23/2024
3.0.14 142 12/23/2024
3.0.13 174 12/22/2024
3.0.12 179 12/22/2024
3.0.11 173 12/22/2024
3.0.10 175 12/22/2024
3.0.9 171 12/22/2024
3.0.8 166 12/22/2024
3.0.7 172 12/22/2024
3.0.6 184 12/22/2024
3.0.5 187 12/21/2024
3.0.4 166 12/21/2024
3.0.3 178 12/18/2024
3.0.2 173 12/17/2024
3.0.1 167 12/10/2024