Click or drag to resize

HashHexFromTextFile Method

Computes hash value in hex format of a text file, treating CR-LF pairs as a single LF

Namespace: CryptoSysAPI
Assembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntax
public static string HexFromTextFile(
	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

String
Message digest in hex format
Remarks
Use for passing message digest of file between Unix and Windows systems.
See Also