Soenneker.Hashing.Slhdsa 3.0.372

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.372
                    
NuGet\Install-Package Soenneker.Hashing.Slhdsa -Version 3.0.372
                    
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.372" />
                    
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.372" />
                    
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.372
                    
#r "nuget: Soenneker.Hashing.Slhdsa, 3.0.372"
                    
#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.372
                    
#: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.372
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Hashing.Slhdsa&version=3.0.372
                    
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
3.0.383 44 9/16/2025
3.0.382 132 9/9/2025
3.0.381 145 9/3/2025
3.0.380 140 9/3/2025
3.0.379 138 9/3/2025
3.0.378 134 9/3/2025
3.0.377 109 8/16/2025
3.0.376 134 8/11/2025
3.0.375 124 8/11/2025
3.0.374 126 8/11/2025
3.0.373 126 8/11/2025
3.0.372 127 8/11/2025
3.0.371 206 8/5/2025
3.0.370 112 7/31/2025
3.0.369 92 7/29/2025
3.0.368 140 7/8/2025
3.0.367 83 6/28/2025
3.0.366 82 6/28/2025
3.0.365 84 6/27/2025
3.0.364 84 6/27/2025
3.0.363 147 6/24/2025
3.0.362 295 6/11/2025
3.0.361 302 6/10/2025
3.0.360 156 6/2/2025
3.0.359 156 5/27/2025
3.0.358 163 5/27/2025
3.0.357 155 5/27/2025
3.0.356 169 5/27/2025
3.0.355 111 5/25/2025
3.0.354 135 5/23/2025
3.0.353 144 5/23/2025
3.0.352 158 5/22/2025
3.0.351 154 5/22/2025
3.0.350 229 5/15/2025
3.0.349 243 5/14/2025
3.0.348 169 5/8/2025
3.0.347 159 5/8/2025
3.0.346 163 5/7/2025
3.0.345 161 5/5/2025
3.0.344 161 5/5/2025
3.0.343 156 5/5/2025
3.0.342 152 5/5/2025
3.0.341 156 5/5/2025
3.0.340 159 5/5/2025
3.0.339 157 5/5/2025
3.0.338 119 4/27/2025
3.0.337 108 4/26/2025
3.0.336 174 4/8/2025
3.0.335 174 4/8/2025
3.0.334 175 4/8/2025
3.0.333 189 4/8/2025
3.0.332 180 4/8/2025
3.0.331 180 4/8/2025
3.0.330 182 4/8/2025
3.0.329 171 4/8/2025
3.0.328 178 4/8/2025
3.0.327 168 4/8/2025
3.0.326 181 4/7/2025
3.0.325 170 4/7/2025
3.0.324 175 4/7/2025
3.0.323 181 4/7/2025
3.0.322 179 4/7/2025
3.0.321 192 4/7/2025
3.0.320 197 4/7/2025
3.0.319 184 4/7/2025
3.0.318 177 4/6/2025
3.0.317 171 4/6/2025
3.0.316 172 4/6/2025
3.0.315 182 4/6/2025
3.0.314 151 4/6/2025
3.0.313 159 4/6/2025
3.0.312 157 4/6/2025
3.0.311 157 4/6/2025
3.0.310 123 4/6/2025
3.0.309 133 4/6/2025
3.0.308 125 4/6/2025
3.0.307 128 4/6/2025
3.0.306 124 4/6/2025
3.0.305 118 4/6/2025
3.0.304 102 4/5/2025
3.0.303 101 4/5/2025
3.0.302 99 4/5/2025
3.0.301 109 4/5/2025
3.0.300 117 4/5/2025
3.0.299 116 4/4/2025
3.0.298 119 4/4/2025
3.0.297 179 4/3/2025
3.0.296 160 4/1/2025
3.0.295 162 3/31/2025
3.0.294 164 3/31/2025
3.0.293 105 3/29/2025
3.0.292 483 3/25/2025
3.0.291 489 3/25/2025
3.0.290 141 3/21/2025
3.0.289 162 3/18/2025
3.0.288 155 3/18/2025
3.0.287 91 3/15/2025
3.0.286 88 3/15/2025
3.0.285 180 3/12/2025
3.0.284 189 3/11/2025
3.0.283 180 3/11/2025
3.0.282 194 3/11/2025
3.0.281 198 3/11/2025
3.0.280 179 3/11/2025
3.0.279 179 3/11/2025
3.0.278 183 3/11/2025
3.0.277 236 3/7/2025
3.0.276 237 3/7/2025
3.0.275 121 3/2/2025
3.0.274 131 3/2/2025
3.0.273 117 3/2/2025
3.0.272 114 3/2/2025
3.0.271 119 3/2/2025
3.0.270 116 3/1/2025
3.0.269 117 3/1/2025
3.0.268 118 3/1/2025
3.0.267 108 3/1/2025
3.0.266 122 3/1/2025
3.0.265 122 3/1/2025
3.0.264 120 3/1/2025
3.0.263 110 3/1/2025
3.0.262 102 3/1/2025
3.0.261 108 3/1/2025
3.0.260 128 2/25/2025
3.0.259 111 2/25/2025
3.0.258 109 2/25/2025
3.0.257 107 2/25/2025
3.0.256 112 2/24/2025
3.0.255 118 2/24/2025
3.0.254 120 2/23/2025
3.0.253 119 2/23/2025
3.0.252 112 2/22/2025
3.0.251 113 2/22/2025
3.0.250 117 2/22/2025
3.0.249 112 2/22/2025
3.0.248 104 2/22/2025
3.0.247 119 2/21/2025
3.0.246 112 2/21/2025
3.0.245 132 2/21/2025
3.0.244 119 2/21/2025
3.0.243 118 2/19/2025
3.0.242 122 2/19/2025
3.0.241 110 2/19/2025
3.0.240 127 2/18/2025
3.0.239 125 2/18/2025
3.0.238 126 2/18/2025
3.0.237 117 2/18/2025
3.0.236 132 2/18/2025
3.0.235 123 2/14/2025
3.0.234 105 2/14/2025
3.0.233 118 2/13/2025
3.0.232 131 2/13/2025
3.0.231 121 2/12/2025
3.0.230 118 2/12/2025
3.0.229 126 2/12/2025
3.0.228 119 2/12/2025
3.0.227 116 2/12/2025
3.0.226 114 2/12/2025
3.0.225 120 2/11/2025
3.0.224 113 2/11/2025
3.0.223 117 2/11/2025
3.0.222 115 2/11/2025
3.0.221 118 2/11/2025
3.0.220 123 2/11/2025
3.0.219 131 2/11/2025
3.0.218 111 2/11/2025
3.0.217 120 2/10/2025
3.0.216 123 2/10/2025
3.0.215 111 2/10/2025
3.0.214 125 2/10/2025
3.0.213 125 2/9/2025
3.0.212 118 2/8/2025
3.0.211 127 2/8/2025
3.0.210 123 2/8/2025
3.0.209 111 2/8/2025
3.0.208 133 2/8/2025
3.0.207 110 2/8/2025
3.0.206 113 2/8/2025
3.0.205 116 2/8/2025
3.0.204 122 2/7/2025
3.0.203 121 2/7/2025
3.0.202 116 2/7/2025
3.0.201 117 2/7/2025
3.0.200 116 2/7/2025
3.0.199 123 2/7/2025
3.0.198 117 2/7/2025
3.0.197 116 2/7/2025
3.0.196 119 2/7/2025
3.0.195 111 2/7/2025
3.0.194 109 2/7/2025
3.0.193 103 2/7/2025
3.0.192 99 2/6/2025
3.0.191 122 2/5/2025
3.0.190 127 2/5/2025
3.0.189 111 2/5/2025
3.0.188 117 2/5/2025
3.0.187 118 2/5/2025
3.0.186 105 2/5/2025
3.0.185 114 1/28/2025
3.0.184 114 1/28/2025
3.0.183 105 1/28/2025
3.0.182 118 1/28/2025
3.0.181 109 1/27/2025
3.0.180 106 1/27/2025
3.0.179 109 1/27/2025
3.0.178 102 1/27/2025
3.0.177 109 1/27/2025
3.0.176 121 1/27/2025
3.0.175 105 1/27/2025
3.0.174 110 1/27/2025
3.0.173 104 1/27/2025
3.0.172 122 1/26/2025
3.0.171 111 1/26/2025
3.0.170 110 1/26/2025
3.0.169 110 1/26/2025
3.0.168 121 1/25/2025
3.0.167 111 1/25/2025
3.0.166 109 1/25/2025
3.0.165 111 1/25/2025
3.0.164 103 1/25/2025
3.0.163 108 1/25/2025
3.0.162 112 1/24/2025
3.0.161 114 1/24/2025
3.0.160 111 1/24/2025
3.0.159 112 1/24/2025
3.0.158 111 1/24/2025
3.0.157 107 1/23/2025
3.0.156 112 1/23/2025
3.0.155 112 1/23/2025
3.0.154 117 1/23/2025
3.0.153 123 1/22/2025
3.0.152 104 1/22/2025
3.0.151 121 1/21/2025
3.0.149 116 1/21/2025
3.0.148 107 1/21/2025
3.0.147 134 1/21/2025
3.0.146 115 1/21/2025
3.0.145 126 1/21/2025
3.0.144 117 1/21/2025
3.0.143 120 1/21/2025
3.0.142 108 1/21/2025
3.0.141 115 1/21/2025
3.0.140 109 1/21/2025
3.0.139 114 1/21/2025
3.0.138 102 1/21/2025
3.0.137 103 1/20/2025
3.0.136 108 1/20/2025
3.0.135 113 1/20/2025
3.0.134 103 1/20/2025
3.0.133 103 1/20/2025
3.0.132 114 1/20/2025
3.0.131 111 1/20/2025
3.0.130 119 1/20/2025
3.0.129 109 1/20/2025
3.0.128 109 1/20/2025
3.0.127 111 1/20/2025
3.0.126 101 1/20/2025
3.0.125 113 1/19/2025
3.0.124 110 1/19/2025
3.0.123 94 1/19/2025
3.0.122 104 1/19/2025
3.0.121 101 1/19/2025
3.0.120 107 1/19/2025
3.0.119 98 1/19/2025
3.0.118 107 1/18/2025
3.0.117 106 1/18/2025
3.0.116 103 1/18/2025
3.0.115 118 1/17/2025
3.0.114 113 1/17/2025
3.0.113 102 1/17/2025
3.0.112 103 1/17/2025
3.0.111 108 1/17/2025
3.0.110 106 1/17/2025
3.0.109 117 1/16/2025
3.0.108 111 1/16/2025
3.0.107 110 1/16/2025
3.0.106 116 1/16/2025
3.0.105 108 1/16/2025
3.0.104 109 1/16/2025
3.0.103 107 1/16/2025
3.0.102 105 1/15/2025
3.0.101 100 1/15/2025
3.0.100 96 1/15/2025
3.0.99 122 1/15/2025
3.0.98 110 1/15/2025
3.0.97 103 1/15/2025
3.0.96 86 1/15/2025
3.0.95 88 1/15/2025
3.0.94 90 1/15/2025
3.0.93 76 1/15/2025
3.0.92 81 1/15/2025
3.0.91 88 1/14/2025
3.0.90 86 1/14/2025
3.0.89 86 1/14/2025
3.0.88 92 1/14/2025
3.0.87 86 1/14/2025
3.0.86 93 1/14/2025
3.0.85 95 1/14/2025
3.0.84 87 1/14/2025
3.0.83 108 1/13/2025
3.0.82 101 1/13/2025
3.0.81 103 1/13/2025
3.0.80 97 1/13/2025
3.0.79 101 1/12/2025
3.0.78 101 1/12/2025
3.0.77 104 1/11/2025
3.0.76 131 1/11/2025
3.0.75 115 1/11/2025
3.0.74 113 1/11/2025
3.0.73 120 1/10/2025
3.0.72 123 1/10/2025
3.0.71 125 1/10/2025
3.0.70 114 1/10/2025
3.0.69 119 1/10/2025
3.0.68 118 1/10/2025
3.0.67 118 1/10/2025
3.0.66 118 1/10/2025
3.0.65 148 1/3/2025
3.0.64 148 1/3/2025
3.0.63 128 1/3/2025
3.0.62 124 1/3/2025
3.0.61 126 1/2/2025
3.0.60 129 1/2/2025
3.0.59 127 1/2/2025
3.0.58 127 1/2/2025
3.0.57 120 1/2/2025
3.0.56 122 1/2/2025
3.0.55 125 1/2/2025
3.0.54 122 1/1/2025
3.0.53 144 1/1/2025
3.0.52 135 1/1/2025
3.0.51 127 12/31/2024
3.0.50 143 12/31/2024
3.0.49 131 12/31/2024
3.0.48 129 12/31/2024
3.0.47 124 12/31/2024
3.0.46 135 12/31/2024
3.0.45 142 12/31/2024
3.0.44 131 12/31/2024
3.0.43 108 12/31/2024
3.0.42 125 12/31/2024
3.0.41 122 12/31/2024
3.0.40 115 12/31/2024
3.0.39 122 12/31/2024
3.0.38 130 12/31/2024
3.0.37 116 12/31/2024
3.0.36 122 12/31/2024
3.0.35 128 12/30/2024
3.0.34 117 12/28/2024
3.0.33 120 12/28/2024
3.0.32 124 12/27/2024
3.0.31 114 12/27/2024
3.0.30 122 12/24/2024
3.0.29 112 12/24/2024
3.0.28 108 12/24/2024
3.0.27 106 12/24/2024
3.0.26 109 12/24/2024
3.0.25 108 12/24/2024
3.0.24 117 12/24/2024
3.0.23 111 12/24/2024
3.0.22 112 12/24/2024
3.0.21 120 12/24/2024
3.0.20 115 12/24/2024
3.0.19 119 12/23/2024
3.0.18 104 12/23/2024
3.0.17 123 12/23/2024
3.0.16 117 12/23/2024
3.0.15 114 12/23/2024
3.0.14 115 12/23/2024
3.0.13 125 12/22/2024
3.0.12 123 12/22/2024
3.0.11 127 12/22/2024
3.0.10 128 12/22/2024
3.0.9 122 12/22/2024
3.0.8 119 12/22/2024
3.0.7 126 12/22/2024
3.0.6 127 12/22/2024
3.0.5 133 12/21/2024
3.0.4 116 12/21/2024
3.0.3 133 12/18/2024
3.0.2 139 12/17/2024
3.0.1 137 12/10/2024