Click or drag to resize

MD5Decrypt Method

Decrypts the specified keys.

Namespace:  Hummingbird.TestFramework.Cryptography
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
public override byte[] Decrypt(
	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 decrypted data. For hash methods, this method will throw an Exception.
Exceptions
ExceptionCondition
NotImplementedExceptionMD5 is a hash method, data cannot be decrypted
See Also