I want to send some data to the client server as they will be using our services. There will be some communication about the player details. Which encryption should be used and how to generate the key for that encryption algorithm. Our code is in php.
Thanks In advance.
You can use the OpenSSL functions. This is how you generate a new public/private key pair:
Store the private key on server and send the public key to clients, then on server:
in client: