CryptoSys PKI Pro Manual

Hmac.BytesFromBytes Method

Create a keyed-hash HMAC in byte format from byte input.

Syntax

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

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 byte format

See Also

VB6/C equivalent: HMAC_Bytes

[Contents] [Index]

[PREV: Hash.Length Method...]   [Contents]   [Index]   
   [NEXT: Hmac.HexFromBytes Method...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.