Initializes a new instance of the HashTree class.

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

Syntax

C#
public HashTree(
	HashAlgorithm hashAlgorithm,
	int blockSize
)
Visual Basic (Declaration)
Public Sub New ( _
	hashAlgorithm As HashAlgorithm, _
	blockSize As Integer _
)
Visual C++
public:
HashTree(
	HashAlgorithm^ hashAlgorithm, 
	int blockSize
)

Parameters

hashAlgorithm
Type: System.Security.Cryptography..::.HashAlgorithm
The HashAlgorithm to calculate the HashTreeNodes with.
blockSize
Type: System..::.Int32
The size of the blocks the source data will be split into.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionWhen the specified HashAlgorithm is null.

See Also