Method AesCrypt():new() Professional
Creates an instance of the AesCrypt class.
AesCrypt():new([<cKey>|<oKey>], [<nMode>]) --> oAesCrypt
|nMode||Operation mode name||Minimal result size|
|CRYPT_OP_ECB||Electronic CodeBook||one block|
|CRYPT_OP_CBC||Cipher Block Chaining||two blocks|
|CRYPT_OP_CTS||CBC combined with cipher text stealing||two blocks|
The class method :new() returns an AesCrypt object.
If :new() is called with no parameters, the method :setKey() must be called before the instance can be used to encrypt or decrypt data.
The the fastest operation mode is ECB.
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.