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

TlsHash

public interface TlsHash
Interface for message digest, or hash, services.
byte[] CalculateHash()

Return calculated hash for any input passed in.

Return a clone of this hash object representing its current state.

void Reset()

Reset the hash underlying this service.

void Update(byte[] input, int inOff, int length)

Update the hash with the passed in input.