Soenneker.Hashing.Slhdsa 3.0.19

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