Computes hash value in byte format of a binary file
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.0)
Syntaxpublic static byte[] BytesFromFile(
string fileName,
HashAlgorithm hashAlg
)
Public Shared Function BytesFromFile (
fileName As String,
hashAlg As HashAlgorithm
) As Byte()
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
ByteMessage digest in byte format
See Also