IDigest
using System;
namespace Org.BouncyCastle.Crypto
{
public interface IDigest
{
string AlgorithmName { get; }
int GetDigestSize();
int GetByteLength();
void Update(byte input);
void BlockUpdate(byte[] input, int inOff, int inLen);
void BlockUpdate(ReadOnlySpan<byte> input);
int DoFinal(byte[] output, int outOff);
int DoFinal(Span<byte> output);
void Reset();
}
}