Soenneker.Hashing.Slhdsa 3.0.9

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.9                
NuGet\Install-Package Soenneker.Hashing.Slhdsa -Version 3.0.9                
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.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Soenneker.Hashing.Slhdsa --version 3.0.9                
#r "nuget: Soenneker.Hashing.Slhdsa, 3.0.9"                
#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.
// Install Soenneker.Hashing.Slhdsa as a Cake Addin
#addin nuget:?package=Soenneker.Hashing.Slhdsa&version=3.0.9

// Install Soenneker.Hashing.Slhdsa as a Cake Tool
#tool nuget:?package=Soenneker.Hashing.Slhdsa&version=3.0.9                

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. 
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.185 38 1/28/2025
3.0.184 36 1/28/2025
3.0.183 38 1/28/2025
3.0.182 40 1/28/2025
3.0.181 40 1/27/2025
3.0.180 36 1/27/2025
3.0.179 35 1/27/2025
3.0.178 35 1/27/2025
3.0.177 35 1/27/2025
3.0.176 41 1/27/2025
3.0.175 37 1/27/2025
3.0.174 38 1/27/2025
3.0.173 37 1/27/2025
3.0.172 43 1/26/2025
3.0.171 40 1/26/2025
3.0.170 39 1/26/2025
3.0.169 39 1/26/2025
3.0.168 40 1/25/2025
3.0.167 45 1/25/2025
3.0.166 41 1/25/2025
3.0.165 42 1/25/2025
3.0.164 29 1/25/2025
3.0.163 24 1/25/2025
3.0.162 22 1/24/2025
3.0.161 16 1/24/2025
3.0.160 16 1/24/2025
3.0.159 36 1/24/2025
3.0.158 33 1/24/2025
3.0.157 35 1/23/2025
3.0.156 39 1/23/2025
3.0.155 37 1/23/2025
3.0.154 39 1/23/2025
3.0.153 74 1/22/2025
3.0.152 61 1/22/2025
3.0.151 61 1/21/2025
3.0.149 67 1/21/2025
3.0.148 57 1/21/2025
3.0.147 63 1/21/2025
3.0.146 69 1/21/2025
3.0.145 67 1/21/2025
3.0.144 65 1/21/2025
3.0.143 74 1/21/2025
3.0.142 60 1/21/2025
3.0.141 60 1/21/2025
3.0.140 61 1/21/2025
3.0.139 61 1/21/2025
3.0.138 58 1/21/2025
3.0.137 59 1/20/2025
3.0.136 63 1/20/2025
3.0.135 58 1/20/2025
3.0.134 58 1/20/2025
3.0.133 60 1/20/2025
3.0.132 66 1/20/2025
3.0.131 65 1/20/2025
3.0.130 67 1/20/2025
3.0.129 64 1/20/2025
3.0.128 61 1/20/2025
3.0.127 63 1/20/2025
3.0.126 60 1/20/2025
3.0.125 72 1/19/2025
3.0.124 67 1/19/2025
3.0.123 61 1/19/2025
3.0.122 63 1/19/2025
3.0.121 64 1/19/2025
3.0.120 69 1/19/2025
3.0.119 59 1/19/2025
3.0.118 62 1/18/2025
3.0.117 61 1/18/2025
3.0.116 66 1/18/2025
3.0.115 71 1/17/2025
3.0.114 68 1/17/2025
3.0.113 66 1/17/2025
3.0.112 62 1/17/2025
3.0.111 70 1/17/2025
3.0.110 68 1/17/2025
3.0.109 76 1/16/2025
3.0.108 69 1/16/2025
3.0.107 66 1/16/2025
3.0.106 69 1/16/2025
3.0.105 79 1/16/2025
3.0.104 74 1/16/2025
3.0.103 64 1/16/2025
3.0.102 68 1/15/2025
3.0.101 64 1/15/2025
3.0.100 63 1/15/2025
3.0.99 77 1/15/2025
3.0.98 69 1/15/2025
3.0.97 62 1/15/2025
3.0.96 52 1/15/2025
3.0.95 50 1/15/2025
3.0.94 50 1/15/2025
3.0.93 34 1/15/2025
3.0.92 38 1/15/2025
3.0.91 33 1/14/2025
3.0.90 32 1/14/2025
3.0.89 31 1/14/2025
3.0.88 31 1/14/2025
3.0.87 31 1/14/2025
3.0.86 32 1/14/2025
3.0.85 33 1/14/2025
3.0.84 31 1/14/2025
3.0.83 61 1/13/2025
3.0.82 60 1/13/2025
3.0.81 63 1/13/2025
3.0.80 54 1/13/2025
3.0.79 64 1/12/2025
3.0.78 65 1/12/2025
3.0.77 59 1/11/2025
3.0.76 78 1/11/2025
3.0.75 63 1/11/2025
3.0.74 59 1/11/2025
3.0.73 66 1/10/2025
3.0.72 63 1/10/2025
3.0.71 62 1/10/2025
3.0.70 61 1/10/2025
3.0.69 62 1/10/2025
3.0.68 64 1/10/2025
3.0.67 71 1/10/2025
3.0.66 67 1/10/2025
3.0.65 105 1/3/2025
3.0.64 104 1/3/2025
3.0.63 83 1/3/2025
3.0.62 83 1/3/2025
3.0.61 83 1/2/2025
3.0.60 78 1/2/2025
3.0.59 84 1/2/2025
3.0.58 81 1/2/2025
3.0.57 82 1/2/2025
3.0.56 77 1/2/2025
3.0.55 80 1/2/2025
3.0.54 91 1/1/2025
3.0.53 92 1/1/2025
3.0.52 84 1/1/2025
3.0.51 89 12/31/2024
3.0.50 89 12/31/2024
3.0.49 88 12/31/2024
3.0.48 88 12/31/2024
3.0.47 88 12/31/2024
3.0.46 103 12/31/2024
3.0.45 107 12/31/2024
3.0.44 102 12/31/2024
3.0.43 80 12/31/2024
3.0.42 78 12/31/2024
3.0.41 83 12/31/2024
3.0.40 77 12/31/2024
3.0.39 86 12/31/2024
3.0.38 91 12/31/2024
3.0.37 88 12/31/2024
3.0.36 86 12/31/2024
3.0.35 84 12/30/2024
3.0.34 81 12/28/2024
3.0.33 77 12/28/2024
3.0.32 78 12/27/2024
3.0.31 76 12/27/2024
3.0.30 84 12/24/2024
3.0.29 78 12/24/2024
3.0.28 77 12/24/2024
3.0.27 72 12/24/2024
3.0.26 77 12/24/2024
3.0.25 72 12/24/2024
3.0.24 78 12/24/2024
3.0.23 86 12/24/2024
3.0.22 73 12/24/2024
3.0.21 78 12/24/2024
3.0.20 78 12/24/2024
3.0.19 77 12/23/2024
3.0.18 77 12/23/2024
3.0.17 87 12/23/2024
3.0.16 83 12/23/2024
3.0.15 79 12/23/2024
3.0.14 79 12/23/2024
3.0.13 88 12/22/2024
3.0.12 83 12/22/2024
3.0.11 87 12/22/2024
3.0.10 86 12/22/2024
3.0.9 87 12/22/2024
3.0.8 85 12/22/2024
3.0.7 90 12/22/2024
3.0.6 92 12/22/2024
3.0.5 91 12/21/2024
3.0.4 81 12/21/2024
3.0.3 99 12/18/2024
3.0.2 99 12/17/2024
3.0.1 100 12/10/2024