Soenneker.Hashing.Slhdsa 3.0.259

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