Click or drag to resize

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
)

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: Byte
Byte array containing the decrypted data.
See Also