Soenneker.Hashing.Slhdsa 3.0.121

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