Hi everyone.
I have a simple script that takes some data from a server and send it to another server using a webbservice. Just for the purpose of not sending the data in plain text, i encrypt the textstring using the _StringEncrypt function. I know its not that safe, and it dpoesnt have to be 100% safe. I just dont want to send it as plain text for anyone to sniff and see.
$encryptedstring = _StringEncrypt(1,FileRead($file),$password)
to encrypt it on one and, and then
filewrite(_StringEncrypt(0,$encryptedstring,$password) )
The problem is that in the latest version of Autoit, they removed StringEncrypt. So now what? I have tried using _Crypt_EncryptData and then _Crypt_DecryptData, but i cant get it to work and it seems to be overcomplicated. I just need somthig simple. Anyone have any idees?
Thanks.