Initializes a new instance of the HashChain class.
Namespace: Classless.Hasher.MethodsAssembly: Classless.Hasher (in Classless.Hasher.dll) Version: 0.9.4179.24336
Syntax
C# |
---|
public HashChain( HashAlgorithm hashAlgorithm, byte[] data, int offset, int length ) |
Visual Basic |
---|
Public Sub New ( _ hashAlgorithm As HashAlgorithm, _ data As Byte(), _ offset As Integer, _ length As Integer _ ) |
Visual C++ |
---|
public: HashChain( HashAlgorithm^ hashAlgorithm, array<unsigned char>^ data, int offset, int length ) |
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.
- offset
- Type: System..::..Int32
Position in the byte array to begin the conversion.
- length
- Type: System..::..Int32
How many bytes in the array to use.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | When the specified HashALgorithm is null. |
System..::..ArgumentException | When the range specified for the array is invalid or the initialization value is less than 1. |