<PackageReference Include="BouncyCastle.Cryptography" Version="2.5.1" />

Sha2EngineProvider

using Org.BouncyCastle.Pqc.Crypto.SphincsPlus; namespace Org.BouncyCastle.Crypto.Parameters { internal sealed class Sha2EngineProvider : ISphincsPlusEngineProvider { private readonly int n; private readonly uint w; private readonly uint d; private readonly int a; private readonly int k; private readonly uint h; public int N => n; internal Sha2EngineProvider(int n, uint w, uint d, int a, int k, uint h) { this.n = n; this.w = w; this.d = d; this.a = a; this.k = k; this.h = h; } public SphincsPlusEngine Get() { return new SphincsPlusEngine.Sha2Engine(false, n, w, d, a, k, h); } } }