Soenneker.Hashing.Slhdsa 3.0.122

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