Encrypting the login / password.
Options
Comments
-
Hi Lizzy,
Photon uses a Diffie-Hellman-Key-exchange to set up encryption between clients and servers.
You can choose on a "per operation" basis if you want to send your data encrypted or unencrypted. See this article for more information:
http://doc.exitgames.com/photon-server/Encryption/0 -
I saw it now.
If anyone else is confused about encryption, please see this link:
http://doc.exitgames.com/photon-server/Encryption/
Note to self or to anyone else:
It is not like Unity Networking where you have to download AES or RSA or whatever and then implement it yourself, encrypt or decrypt the streams manually.
The thing is ready-made for you and you set it to encrypted parameter to true/false.
// OpCustom has an overload with encryption parameter:
this.peer.OpCustom(myOpCode, opParameters, sendReliable, channel, encrypt);0