Soenneker.Hashing.Slhdsa 3.0.96

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