Soenneker.Hashing.Slhdsa 3.0.255

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