Encrypt and Decrypt data.
OutputVar := CryptAES(AddressOrVar, Size, password , EncryptOrDecrypt, Algorithm)Function Example: size := CryptAES(var, sz, "password", true)
The name of the variable in which to store the size of encrypted memory.
Variable or memory address of data to be encrypted or decrypted.
Size of data to be encrypted or decrypted. When encrypting make sure the buffer in AddressOrVar is at least 16 bytes larger than data to be encrypted!
Password to use for encryption or decryption.
True or 1 to encrypt or false or 0 to decrypted. If omitted data is encrypted.
Algorithm to use, supported values are 128 for CALG_AES_128, 192 for CALG_AES_192 or 256 for CALG_AES_256. If omitted CALG_AES_256 is used.