Org.BouncyCastle.Crypto.Digests.ShortenedDigest
Wrapper class that reduces the output length of a particular digest to only the first n bytes of
the digest function.
namespace Org.BouncyCastle.Crypto.Digests
{
public class ShortenedDigest : IDigest
{
public string AlgorithmName { get; }
public ShortenedDigest(IDigest baseDigest, int length);
public int GetDigestSize();
public void Update(byte input);
public void BlockUpdate(byte[] input, int inOff, int inLen);
public int DoFinal(byte[] output, int outOff);
public void Reset();
public int GetByteLength();
}
}