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

DeferredHash

Buffers input until the hash algorithm is determined.
public byte[] CalculateHash()

public TlsHash CloneHash()

public void CopyBufferTo(Stream output)

public void ForceBuffering()

public byte[] GetFinalHash(int cryptoHashAlgorithm)

public void NotifyPrfDetermined()

public void Reset()

public void SealHashAlgorithms()

public void StopTracking()

public void TrackHashAlgorithm(int cryptoHashAlgorithm)

public void Update(byte[] input, int inOff, int len)