Visual Basic (Declaration) | |
---|---|
<ExtensionAttribute()> Public Shared Function DecryptThenMac( _ ByVal masterKey() As Byte, _ ByVal ciphertext() As Byte, _ Optional ByVal salt() As Byte _ ) As Byte() |
Visual Basic (Usage) | ![]() |
---|---|
Dim masterKey() As Byte Dim ciphertext() As Byte Dim salt() As Byte Dim value() As Byte value = CryptoFactory.DecryptThenMac(masterKey, ciphertext, salt) |
C# | |
---|---|
[Extension()] public static byte[] DecryptThenMac( byte[] masterKey, byte[] ciphertext, byte[] salt ) |
C++/CLI | |
---|---|
[Extension()] public: static array<byte>^ DecryptThenMac( array<byte>^ masterKey, array<byte>^ ciphertext, array<byte>^ salt ) |
Parameters
- masterKey
- ciphertext
- salt
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