Decrypts a given string.
Namespace: LLCryptoLib.Security.CryptographyAssembly: 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
Exception | Condition |
---|
System..::..ArgumentNullException | input is a null reference. |
System..::..FormatException | input is an invalid Base64 string. |
System..::..ArgumentException | The length of input is invalid. |
System.Security.Cryptography..::..CryptographicException | An error occurs during the decryption or integrity verification. |
See Also