CryptoSys API Library Manual

Hash.BytesFromFile Method

Computes hash value in byte format of a binary file

Syntax

[C#]
public static byte[] BytesFromFile(
	string fileName,
	HashAlgorithm hashAlg
)
[VB.NET]
Public Shared Function BytesFromFile ( _
	fileName As String, _
	hashAlg As HashAlgorithm _
) As Byte()

Parameters

fileName
Name of file containing message data
hashAlg
Type: HashAlgorithm
Hash algorithm to be used (ASCON-HASH not supported in file mode)

Return Value

Message digest in byte format

See Also

VB6/C equivalent: HASH_File

[Contents] [Index]

[PREV: Hash.BytesFromBytes Method...]   [Contents]   [Index]   
   [NEXT: Hash.Dispose Method...]

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