Click or drag to resize

HashBytesFromFile Method

Create hash digest of a binary file.

Namespace: CryptoSysPKI
Assembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.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

Return Value

Byte
Message digest in byte format
See Also