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

SkeinParameters

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

A builder for SkeinParameters.

public const int PARAM_TYPE_CONFIG = 4

The parameter type for the Skein configuration block: 4

public const int PARAM_TYPE_KEY = 0

The parameter type for a secret key, supporting MAC or KDF functions: 0

public const int PARAM_TYPE_KEY_IDENTIFIER = 16

The parameter type for a key identifier string: 16

public const int PARAM_TYPE_MESSAGE = 48

The parameter type for the message: 48

public const int PARAM_TYPE_NONCE = 20

The parameter type for a nonce: 20

public const int PARAM_TYPE_OUTPUT = 63

The parameter type for the output transformation: 63

public const int PARAM_TYPE_PERSONALISATION = 8

The parameter type for a personalisation string: 8

public const int PARAM_TYPE_PUBLIC_KEY = 12

The parameter type for a public key: 12

public SkeinParameters()

public byte[] GetKey()

Obtains the value of the PARAM_TYPE_KEYkey parameter, or null if not set.

public byte[] GetKeyIdentifier()

Obtains the value of the PARAM_TYPE_KEY_IDENTIFIERkey identifier parameter, or null if not set.

public byte[] GetNonce()

Obtains the value of the PARAM_TYPE_NONCEnonce parameter, or null if not set.

public IDictionary<int, byte[]> GetParameters()

Obtains a map of type (int) to value (byte[]) for the parameters tracked in this object.

public byte[] GetPersonalisation()

Obtains the value of the PARAM_TYPE_PERSONALISATIONpersonalisation parameter, or null if not set.

public byte[] GetPublicKey()

Obtains the value of the PARAM_TYPE_PUBLIC_KEYpublic key parameter, or null if not set.