Soenneker.Hashing.Slhdsa 3.0.91

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