Org.BouncyCastle.Crypto.Digests.Blake2xsDigest
Implementation of the eXtendable Output Function (XOF) BLAKE2xs.
BLAKE2xs is optimized for 32-bit platforms and produces digests of any size
between 1 and 2^16-2 bytes. The length can also be unknown and then the maximum
length will be 2^32 blocks of 32 bytes.
namespace Org.BouncyCastle.Crypto.Digests
{
public sealed class Blake2xsDigest : IXof, IDigest
{
public const int UnknownDigestLength = 65535;
public string AlgorithmName { get; }
public Blake2xsDigest();
public Blake2xsDigest(int digestBytes);
public Blake2xsDigest(int digestBytes, byte[] key);
public Blake2xsDigest(int digestBytes, byte[] key, byte[] salt, byte[] personalization);
public Blake2xsDigest(Blake2xsDigest digest);
public int GetDigestSize();
public int GetByteLength();
public long GetUnknownMaxLength();
public void Update(byte b);
public void BlockUpdate(byte[] input, int inOff, int inLen);
public void Reset();
public int DoFinal(byte[] output, int outOff);
public int OutputFinal(byte[] output, int outOff, int outLen);
public int Output(byte[] output, int outOff, int outLen);
}
}