Click or drag to resize

RsaAesDecrypt Method

Decrypts encrypted data

Namespace:  Cauldron.Cryptography
Assembly:  Cauldron.Cryptography (in Cauldron.Cryptography.dll) Version: 3.2.0.2
Syntax
[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