Soenneker.Hashing.Slhdsa 3.0.128

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