GetHMAC(Func<Byte[],HMAC>,Byte[],Byte[]) Method
See Also 
SourceCode.Security.Cryptography Namespace > CryptoFactory Class > GetHMAC Method : GetHMAC(Func<Byte[],HMAC>,Byte[],Byte[]) Method



hmacFactory
key
clear

Glossary Item Box

Syntax

Visual Basic (Declaration)  
<ExtensionAttribute()>
Public Overloads Shared Function GetHMAC( _
   ByVal hmacFactory As Func(Of Byte(),HMAC), _
   ByVal key() As Byte, _
   ByVal clear() As Byte _
) As Byte()
Visual Basic (Usage) Copy Code
Dim hmacFactory As Func(Of Byte(),HMAC)
Dim key() As Byte
Dim clear() As Byte
Dim value() As Byte
 
value = CryptoFactory.GetHMAC(hmacFactory, key, clear)
C#  
[Extension()]
public static byte[] GetHMAC( 
   Func<byte[],HMAC> hmacFactory,
   byte[] key,
   byte[] clear
)

Parameters

hmacFactory
key
clear

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also