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

TlsHash

public interface TlsHash
Interface for message digest, or hash, services.
using System; namespace Org.BouncyCastle.Tls.Crypto { public interface TlsHash { void Update(byte[] input, int inOff, int length); void Update(ReadOnlySpan<byte> input); byte[] CalculateHash(); TlsHash CloneHash(); void Reset(); } }