CryptoSys PKI Toolkit Manual

Hmac.HexFromBytes Method

Creates a keyed-hash HMAC in hex-encoded format from byte input

Syntax

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

Parameters

message
Message to be signed in byte format
key
Key in byte format
hashAlg
Type: HashAlgorithm
Hash algorithm to be used

Return Value

HMAC in hex-encoded format

Examples (VB.NET)

See Example1

See Also

VB6/C equivalent: HMAC_HexFromBytes

[Contents] [Index]

[HOME]   [NEXT: Hmac.HexFromHex Method...]

Copyright © 2004-12 D.I. Management Services Pty Ltd. All rights reserved.