Click or drag to resize

RsaAesDecrypt Method

Decrypts encrypted data

Namespace:  Cauldron.Cryptography
Assembly:  Cauldron.Cryptography (in Cauldron.Cryptography.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
[SecurityCriticalAttribute]
public static byte[] Decrypt(
	SecureString privateKey,
	byte[] data
)

Parameters

privateKey
Type: System.SecuritySecureString
The private key used to decrypt
data
Type: SystemByte
The data to decrypt

Return Value

Type: Byte
The decrypted data
Exceptions
ExceptionCondition
ArgumentNullExceptionprivateKey is null
ArgumentNullExceptiondata is null
See Also