SkeinParameters Class

Parameters for the Skein hash function - a series of byte[] strings identified by integer tags.

Definition

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

Remarks

Parameterised Skein can be used for:
  • MAC generation, by providing a key.
  • Randomised hashing, by providing a nonce.
  • A hash function for digital signatures, associating a public key with the message digest.
  • A key derivation function, by providing a key identifier.
  • Personalised hashing, by providing a recommended format or arbitrary personalisation string.

Constructors

SkeinParametersInitializes a new instance of the SkeinParameters class

Methods

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)
GetKey Obtains the value of the key parameter, or
C#
null
if not set.
GetKeyIdentifier Obtains the value of the key identifier parameter, or
C#
null
if not set.
GetNonce Obtains the value of the nonce parameter, or
C#
null
if not set.
GetParameters Obtains a map of type (int) to value (byte[]) for the parameters tracked in this object.
GetPersonalisation Obtains the value of the personalisation parameter, or
C#
null
if not set.
GetPublicKey Obtains the value of the public key parameter, or
C#
null
if not set.
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Fields

PARAM_TYPE_CONFIG The parameter type for the Skein configuration block: 4
PARAM_TYPE_KEY The parameter type for a secret key, supporting MAC or KDF functions: 0
PARAM_TYPE_KEY_IDENTIFIER The parameter type for a key identifier string: 16
PARAM_TYPE_MESSAGE The parameter type for the message: 48
PARAM_TYPE_NONCE The parameter type for a nonce: 20
PARAM_TYPE_OUTPUT The parameter type for the output transformation: 63
PARAM_TYPE_PERSONALISATION The parameter type for a personalisation string: 8
PARAM_TYPE_PUBLIC_KEY The parameter type for a public key: 12

See Also