<PackageReference Include="BouncyCastle.Cryptography" Version="2.8.0-beta.349" />

Org.BouncyCastle.Crypto.Digests.ShortenedDigest

public class ShortenedDigest : IDigest
Wrapper class that reduces the output length of a particular digest to only the first n bytes of the digest function.
public string AlgorithmName { get; }

public ShortenedDigest(IDigest baseDigest, int length)

Base constructor.

public void BlockUpdate(byte[] input, int inOff, int inLen)

public int DoFinal(byte[] output, int outOff)

public int GetByteLength()

public int GetDigestSize()

public void Reset()

public void Update(byte input)