Encrypting the login / password.

Options
Lizzy
edited August 2013 in Photon Server
What facilities are there to encrypt the login information and transactions when it goes to and from the Photon server?

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/
  • Lizzy
    Options
    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);