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

Org.BouncyCastle.Crypto.Digests.Blake2sDigest

public sealed class Blake2sDigest : IDigest
Implementation of the cryptographic hash function BLAKE2s. BLAKE2s is optimized for 32-bit platforms and produces digests of any size between 1 and 32 bytes.
namespace Org.BouncyCastle.Crypto.Digests { public sealed class Blake2sDigest : IDigest { public string AlgorithmName { get; } public Blake2sDigest(); public Blake2sDigest(Blake2sDigest digest); public Blake2sDigest(int digestBits); public Blake2sDigest(byte[] key); public Blake2sDigest(byte[] key, int digestBytes, byte[] salt, byte[] personalization); public void Update(byte b); public void BlockUpdate(byte[] message, int offset, int len); public int DoFinal(byte[] output, int outOffset); public void Reset(); public int GetDigestSize(); public int GetByteLength(); public void ClearKey(); public void ClearSalt(); } }