CryptographyBaseSymmetricDecrypt Method |
This is an internal encrypt method used to decrypt all Symmetric algorithms
Namespace:
Hummingbird.TestFramework.Cryptography
Assembly:
Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax protected static byte[] SymmetricDecrypt(
SymmetricAlgorithm provider,
byte[] key,
byte[] iv,
byte[] data,
CipherMode ciphermode,
PaddingMode paddingmode
)
Protected Shared Function SymmetricDecrypt (
provider As SymmetricAlgorithm,
key As Byte(),
iv As Byte(),
data As Byte(),
ciphermode As CipherMode,
paddingmode As PaddingMode
) As Byte()
protected:
static array<unsigned char>^ SymmetricDecrypt(
SymmetricAlgorithm^ provider,
array<unsigned char>^ key,
array<unsigned char>^ iv,
array<unsigned char>^ data,
CipherMode ciphermode,
PaddingMode paddingmode
)
static member SymmetricDecrypt :
provider : SymmetricAlgorithm *
key : byte[] *
iv : byte[] *
data : byte[] *
ciphermode : CipherMode *
paddingmode : PaddingMode -> byte[]
Parameters
- provider
- Type: System.Security.CryptographySymmetricAlgorithm
The Symmetric Algorithm encryption provider. - key
- Type: SystemByte
The Encryption key. - iv
- Type: SystemByte
The Initial Vector. - data
- Type: SystemByte
The data to encrypt. - ciphermode
- Type: System.Security.CryptographyCipherMode
The CipherMode. - paddingmode
- Type: System.Security.CryptographyPaddingMode
The PaddingMode.
Return Value
Type:
ByteByte array containing the decrypted data.
See Also