Click or drag to resize

AesDecrypt Method (SecureString, Int32, Byte)

Descrypts encrypted data

Namespace:  Cauldron.Cryptography
Assembly:  Cauldron.Cryptography (in Cauldron.Cryptography.dll) Version: 3.2.0.2
Syntax
public static byte[] Decrypt(
	SecureString password,
	int iterations,
	byte[] data
)

Parameters

password
Type: System.SecuritySecureString
The password used to decrypt data
iterations
Type: SystemInt32
The number of iteration for the KDF
data
Type: SystemByte
The data to decrypt

Return Value

Type: Byte
The decrypted data
Exceptions
ExceptionCondition
ArgumentNullExceptionpassword is null
ArgumentNullExceptiondata is null
SecurityExceptioniterations is lower than 1000
See Also