Decrypts a given string.

Namespace: LLCryptoLib.Security.Cryptography
Assembly: LLCryptoLib (in LLCryptoLib.dll) Version: 2.0.1024.0 (2.0.1024)

Syntax

C#
public byte[] Decrypt(
	string input
)
Visual Basic
Public Function Decrypt ( _
	input As String _
) As Byte()
Visual C++
public:
array<unsigned char>^ Decrypt(
	String^ input
)

Parameters

input
Type: System..::..String
The string to decrypt.

Return Value

An array of bytes, containing the unencrypted data.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptioninput is a null reference.
System..::..FormatExceptioninput is an invalid Base64 string.
System..::..ArgumentExceptionThe length of input is invalid.
System.Security.Cryptography..::..CryptographicExceptionAn error occurs during the decryption or integrity verification.

See Also