I am currently encrypting data in my code using AES256 with a passkey. Example passkey: "123456"
It works fine in my autoit code. But my php developer insists the passkey for AES256 must be 32 bytes. So I am assuming that even though my passkey in autoit is not currently 32 bytes it is somehow converting my passkey into a 32 byte passkey? If that is true... how can I find out the 32 byte passkey that my current code is using... so that I can give that to my php developer?
Thanks!
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