CryptoSys API Library Manual

Hash.HexFromBytes Method

Creates hash digest in hex format of byte input

Syntax

[C#]
public static string HexFromBytes(
	byte[] message,
	HashAlgorithm hashAlg
)
[VB.NET]
Public Shared Function HexFromBytes ( _
	message As Byte(), _
	hashAlg As HashAlgorithm _
) As String

Parameters

message
Message data in byte format
hashAlg
Hash algorithm to be used

Return Value

Message digest in hex-encoded format

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: HASH_HexFromBytes

[Contents] [Index]

[HOME]   [NEXT: Hash.HexFromFile Method...]

Copyright © 2001-11 D.I. Management Services Pty Ltd. All rights reserved.