CryptoSys API Library Manual

Hash.HexFromTextFile Method

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

Syntax

[C#]
public static string HexFromTextFile(
	string fileName,
	HashAlgorithm hashAlg
)
[VB.NET]
Public Shared Function HexFromTextFile ( _
	fileName As String, _
	hashAlg As HashAlgorithm _
) As String

Parameters

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

Return Value

Message digest in hex format

Remarks

Use for passing message digest of file between Unix and Windows systems.

[Contents] [Index]

[PREV: Hash.HexFromString Method...]   [Contents]   [Index]   
   [NEXT: Hash.Init Method...]

Copyright © 2001-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-01-07T07:42:00Z.