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]

[PREV: Hash.HexFromTextFile Method...]   [Contents]   [Index]   
   [NEXT: Hash.Instance Method...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.