SkeinDigest Class

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

Definition

Namespace: Org.BouncyCastle.Crypto.Digests
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public class SkeinDigest : IDigest, 
	IMemoable
Inheritance
Object    SkeinDigest
Implements
IDigest, IMemoable

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

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

Properties

Methods

BlockUpdate(ReadOnlySpanByte) 
BlockUpdate(Byte, Int32, Int32) 
Copy 
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)
GetByteLength 
GetDigestSize 
GetHashCodeServes as the default hash function.
(Inherited from Object)
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 
Reset(IMemoable) 
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