IPWorks Encrypt 2020 ActiveX Edition

Questions / Feedback?

HashValue Property

The hash value of the data.

Syntax

ecccontrol.HashValue[=string]

Default Value

""

Remarks

This property holds the computed hash value for the specified data. This is populated when calling Sign or VerifySignature when an input file is specified by setting InputFile or InputMessage.

Pre-existing hash values may be set to this property before calling Sign or VerifySignature. If you know the hash value prior to using the control you may specify the pre-computed hash value here.

This setting is not applicable to PureEdDSA algorithms. If KeyAlgorithm is ed25519 or ed448 and HashEdDSA is False (default) the PureEdDSA algorithm is use and HashValue is not applicable.

Hash Notes

The control will determine whether or not to recompute the hash based on the properties that are set. If a file is specified by InputFile or InputMessage the hash will be recomputed when calling Sign or VerifySignature. If the HashValue property is set the control will only sign the hash or verify the hash signature. Setting InputFile or InputMessage clears the HashValue property. Setting the HashValue property clears the input file selection.

To read or write binary data to the property, a Variant (Byte Array) version is provided in .HashValueB.

Data Type

Binary String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Encrypt 2020 ActiveX Edition - Version 20.0 [Build 8155]