CryptoSys API Library Manual
Hash.Init Method
Initialises the Hash object ready for repeated incremental operations.
Syntax
[C#]
public bool Init(
HashAlgorithm hashAlg
)
[VB.NET]
Public Function Init ( _
hashAlg As HashAlgorithm _
) As Boolean
Parameters
- hashAlg
- Type: HashAlgorithm
Hash algorithm to be used (SHA-1, SHA-2, SHA-3 only)
Return Value
True if successful, False if failed
Remarks
Only the SHA families of hash functions (SHA-1, SHA-2, SHA-3) are supported in object mode.
See Also
VB6/C equivalent: HASH_Init
[Contents] [Index]