Click or drag to resize

Sha384Encrypt Method

Encrypts the specified data by providing encryption key and other data.

Namespace:  Hummingbird.TestFramework.Cryptography
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public override byte[] Encrypt(
	byte[] key,
	byte[] iv,
	X509Certificate2 certificate,
	byte[] data,
	CipherMode ciphermode,
	PaddingMode paddingmode
)

Parameters

key
Type: SystemByte
The key.
iv
Type: SystemByte
The Initial Vector.
certificate
Type: System.Security.Cryptography.X509CertificatesX509Certificate2
The X509 certificate, if the algorithm needs a certificate.
data
Type: SystemByte
The data to be encrypted.
ciphermode
Type: System.Security.CryptographyCipherMode
The cipher mode.
paddingmode
Type: System.Security.CryptographyPaddingMode
The padding mode.

Return Value

Type: Byte
the encrypted data. For hash methods, the hashed data
See Also