Click or drag to resize

CryptographyBaseSymmetricEncrypt Method

This is an internal encrypt method used to encrypt all Symmetric algorithms

Namespace:  Hummingbird.TestFramework.Cryptography
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
protected static byte[] SymmetricEncrypt(
	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 encrypt data.
See Also