<PackageReference Include="BouncyCastle.Cryptography" Version="2.0.0" />

SkeinDigest

public class SkeinDigest : IDigest, IMemoable
Implementation of the Skein parameterised hash function in 256, 512 and 1024 bit block sizes, based on the ThreefishEngineThreefish tweakable block cipher.
public const int SKEIN_1024 = 1024

1024 bit block size - Skein-1024

public const int SKEIN_256 = 256

256 bit block size - Skein-256

public const int SKEIN_512 = 512

512 bit block size - Skein-512

public string AlgorithmName { get; }

public SkeinDigest(int stateSizeBits, int digestSizeBits)

Constructs a Skein digest with an internal state size and output size.

public SkeinDigest(SkeinDigest digest)

public void BlockUpdate(byte[] inBytes, int inOff, int len)

public IMemoable Copy()

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

public int GetByteLength()

public int GetDigestSize()

public void Init(SkeinParameters parameters)

Optionally initialises the Skein digest with the provided parameters.

public void Reset(IMemoable other)

public void Reset()

public void Update(byte inByte)