HashHexFromTextFile Method |
Computes hash value in hex format of a text file, treating CR-LF pairs as a single LF
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntaxpublic static string HexFromTextFile(
string fileName,
HashAlgorithm hashAlg
)
Public Shared Function HexFromTextFile (
fileName As String,
hashAlg As HashAlgorithm
) As String
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
StringMessage digest in hex format
RemarksUse for passing message digest of file between Unix and Windows systems.
See Also