Method AesCrypt():decrypt() Professional
Decrypts a previously encrypted buffer using a key.
Syntax
:decrypt(<cEncryptedValue>) --> cOriginalValue
Parameters
<cEncryptedValue>
The passed buffer <cEncryptedValue> is decrypted using the key <cKey> passed to the :new() method.
Return
The decrypted buffer is returned.
Description
Decrypts an encrypted buffer. The key must be the same that was used to encrypt the buffer. If the key is invalid or the buffer contains non-encrypted data, :decrypt() will return random data.
Feedback
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.