Classes

Method AesCrypt():encrypt() Professional

Encrypts a buffer using a key.

Syntax
:encrypt(<cValue>) --> cEncryptedValue
Parameters
<cValue>
The passed buffer <cValue> is encrypted using the key <cKey> passed to the new() method.
Return

The encrypted buffer is returned.

Description

Encrypt a buffer. The length of the buffer must be dividible by the block length as a whole number. The method :prepareBuffer() will adjust the length of the buffer to meet this criteria.

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.