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

SkeinMac

public class SkeinMac : IMac
Implementation of the Skein parameterised MAC 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 SkeinMac(int stateSizeBits, int digestSizeBits)

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

public SkeinMac(SkeinMac mac)

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

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

public int GetMacSize()

public void Init(ICipherParameters parameters)

Optionally initialises the Skein digest with the provided parameters.

public void Reset()

public void Update(byte inByte)