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. Documentation Code public string AlgorithmName { get; } public ShortenedDigest(IDigest baseDigest, int length) Base constructor. public void BlockUpdate(byte[] input, int inOff, int inLen) public void BlockUpdate(ReadOnlySpan<byte> input) public int DoFinal(byte[] output, int outOff) public int DoFinal(Span<byte> output) public int GetByteLength() public int GetDigestSize() public void Reset() public void Update(byte input)