Method AesCrypt():prepareBuffer() Professional
Prepares a buffer for encryption.
:prepareBuffer(<cBuffer>[, cPadChar]) --> nLength
The length of the buffer is returned.
Because AES is a block code, the required buffer length depends on the operation mode and may require additional padding characters. In ECB and CBS modes the buffer length is set to a multiple of a block. In CTS mode, the buffer length is set to a minimum of two block lengths.
This method is called automatically by CryptFile() and CryptTable().
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.