Click or drag to resize

HashBytesFromFile Method

Computes hash value in byte format of a binary file

Namespace: CryptoSysAPI
Assembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntax
public static byte[] BytesFromFile(
	string fileName,
	HashAlgorithm hashAlg
)

Parameters

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

Return Value

Byte
Message digest in byte format
See Also