I read the tutorial Tutorial: Using the OpenSSL Plugin but I found the example code incomplete for my use. It doesn’t show how to decrypt data in PHP that was encrypted in Lua.
I tried: $decrypted = openssl_decrypt ( base64_decode ( $_REQUEST ), $method, $pass );
However, the $_REQUEST appears to be an array where the key is the encrypted data and the value is empty. The decryption fails.
What would be the proper way to receive and parse in PHP encrypted data sent from an app?
Thanks,
Leonardo