Example secure RSA communication between Unity and php using phpseclib
- Use composer for install phpseclib
cd www
php composer.phar install
- Upload
wwwcontent on your webserver - Open
MainScenein Unity Editor - Select
RSAEncryptionPaneland changeScript Urlfield - Play
- Click on Generate KeyPair
- Type some text in
ClearTextInputField - Click on Encrypt button
- Click on Decrypt button
- You must receive the same text as you typed