Encryption key storage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Svinja
    New Member
    • Nov 2007
    • 25

    Encryption key storage

    Hi,
    I am writing application(its a game) and i have highscore in a file that is encrypted. In order to decrypt the highscore file, my application must have encryption key. I know it is not safe to hardcode the key or store it in registry. So where should i store the key so my app can use?
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    #2
    Originally posted by Svinja
    Hi,
    I am writing application(its a game) and i have highscore in a file that is encrypted. In order to decrypt the highscore file, my application must have encryption key. I know it is not safe to hardcode the key or store it in registry. So where should i store the key so my app can use?
    The only place left to store it is on the hard disk. Why does it matter if your highscore is hacked or not?

    Comment

    • Svinja
      New Member
      • Nov 2007
      • 25

      #3
      If somebody else gets the encryption key, then he can decrypt highscore file, change highscore and encrypt it agian. I know i can use hash to solve this but i really wanna solve the problem with encryption. I have read something about memory masking, does anybody know how this is it done?

      Comment

      Working...