Soenneker.Hashing.Slhdsa 3.0.342

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