CryptoSys API Library Manual

Mac.BytesFromBytes Method

Computes MAC value in byte format from byte input

Syntax

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

Parameters

message
Message to be signed in byte format
key
Key in byte format
macAlg
Type: MacAlgorithm
MAC algorithm to be used

Return Value

MAC in byte format

See Also

VB6/C equivalent: MAC_Bytes

[Contents] [Index]

[PREV: Mac.AddData Method (String)...]   [Contents]   [Index]   
   [NEXT: Mac.Dispose Method...]

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