Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <blockquote> <p>"Now I have come to accept the fact that there is no way on earth I can hide this from a hacker and send the scores unaltered."</p> </blockquote> <p><strike> Oh yes, there is!</p> <p>You can use RSA or any other public key encryption method (also called assymetric cryptography).</p> <p>Create a set of (public and private) keys for the server. Have your client code include your server's public key.</p> <p>At the end of the game, the client code, encrypts the score (with this key) and sends both (plain score and encrypted score) to server.</p> <p>Server decrypts and checks if plain score and decrypted one are same. If yes, accept score. If not, reject (there's a hacker or network error in the middle). </strike></p> <p>-------UPDATE-----------CORRECTION--------------</p> <p>As Ambrosia, pointed out, my approach fails completely with this kind of attack.</p> <p>What you actually want is to have a trusted result from a calculation (of score) made by an untrusted party (the player). No easy way to achieve this.</p> <p>See this: <a href="http://coltrane.wiwi.hu-berlin.de/~fis/texts/2003-profit-untrust.pdf" rel="nofollow">http://coltrane.wiwi.hu-berlin.de/~fis/texts/2003-profit-untrust.pdf</a></p> <p>Also this one: <a href="http://www.cse.psu.edu/~snarayan/publications/securecomputation.pdf" rel="nofollow">http://www.cse.psu.edu/~snarayan/publications/securecomputation.pdf</a></p> <p>And this (which needs a subscription to the ACM digital library): <a href="http://portal.acm.org/citation.cfm?id=643477.643479" rel="nofollow">http://portal.acm.org/citation.cfm?id=643477.643479</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload