Thank you so much for this file. After having searched some while this is the only piece of code I could find working for php and autoit. However, I had to update some functions now being deprecated in recent versions, adapt the code to my needs, add support for Javascript as well as hmac for security reasons (e.g. AES-256 in cbc mode is quite vulnerable for certain type of attacks without hmac). In case someone is interested, I attached the files for PHP, AutoIt and JS. I added a