SkeinMac Class

Implementation of the Skein parameterised MAC function in 256, 512 and 1024 bit block sizes, based on the Threefish tweakable block cipher.

Definition

Namespace: Org.BouncyCastle.Crypto.Macs
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public class SkeinMac : IMac
Inheritance
Object    SkeinMac
Implements
IMac

Remarks

This is the 1.3 version of Skein defined in the Skein hash function submission to the NIST SHA-3 competition in October 2010.

Skein was designed by Niels Ferguson - Stefan Lucks - Bruce Schneier - Doug Whiting - Mihir Bellare - Tadayoshi Kohno - Jon Callas - Jesse Walker.

Constructors

SkeinMac(SkeinMac)Initializes a new instance of the SkeinMac class
SkeinMac(Int32, Int32) Constructs a Skein MAC with an internal state size and output size.

Properties

Methods

BlockUpdate(ReadOnlySpanByte) 
BlockUpdate(Byte, Int32, Int32) 
DoFinal(SpanByte) 
DoFinal(Byte, Int32) 
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetMacSize 
GetTypeGets the Type of the current instance.
(Inherited from Object)
Init Optionally initialises the Skein digest with the provided parameters.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Reset 
ToStringReturns a string that represents the current object.
(Inherited from Object)
Update 

Fields

SKEIN_1024 1024 bit block size - Skein-1024
SKEIN_256 256 bit block size - Skein-256
SKEIN_512 512 bit block size - Skein-512

See Also