Initializes a new instance of the HashChain class.

Namespace: Classless.Hasher.Methods
Assembly: Classless.Hasher (in Classless.Hasher.dll) Version: 0.9.4179.24336

Syntax

C#
public HashChain(
	HashAlgorithm hashAlgorithm,
	byte[] data,
	int initialize
)
Visual Basic
Public Sub New ( _
	hashAlgorithm As HashAlgorithm, _
	data As Byte(), _
	initialize As Integer _
)
Visual C++
public:
HashChain(
	HashAlgorithm^ hashAlgorithm, 
	array<unsigned char>^ data, 
	int initialize
)

Parameters

hashAlgorithm
Type: System.Security.Cryptography..::..HashAlgorithm
The HashAlgorithm to calculate the chain iterations with.
data
Type: array<System..::..Byte>[]()[][]
The value to initialize the chain with.
initialize
Type: System..::..Int32
How many iterations to calculate during instantiation.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionWhen the specified HashALgorithm is null.
System..::..ArgumentExceptionWhen the range specified for the array is invalid or the initialization value is less than 1.

See Also