SecurityServices for .NET 2.0 Documentation

StringEncryption.Decrypt Method 

[This is preliminary documentation and subject to change.]

Decrypts a given string.

public byte[] Decrypt(
   String input
);

Parameters

String
The string to decrypt.

Return Value

An array of bytes, containing the unencrypted data.

Exceptions

Exception Type Condition
ArgumentNullException input is a null reference.
FormatException input is an invalid Base64 string.
ArgumentException The length of input is invalid.
CryptographicException An error occurs during the decryption or integrity verification.

See Also

StringEncryption Class | Org.Mentalis.SecurityServices.Cryptography Namespace