DataHash Constructor (HashAlgorithm, Byte)
|
Constructor which initializes the DataHash with algorithm and value.
Namespace:
Guardtime.KSI.Hashing
Assembly:
ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntaxpublic DataHash(
HashAlgorithm algorithm,
byte[] valueBytes
)
Public Sub New (
algorithm As HashAlgorithm,
valueBytes As Byte()
)
public:
DataHash(
HashAlgorithm^ algorithm,
array<unsigned char>^ valueBytes
)
new :
algorithm : HashAlgorithm *
valueBytes : byte[] -> DataHash
Parameters
- algorithm
- Type: Guardtime.KSI.HashingHashAlgorithm
[NotNull] HashAlgorithm used to compute this hash. - valueBytes
- Type: SystemByte
[NotNull] hash value computed for the input data.
See Also