Attaching a Product key to software [ Desktop ]

Donni11

  • *
  • Posts: 2181
Hello ,

So in big business applications such a Microsoft Office they have something called product keys. Where once you purchases and download it comes with a ingrained key that allows the download file to only be able to be run on your computer. How would we attach a key like that to our games created with Stencyl ?

« Last Edit: July 25, 2016, 11:19:40 am by Donni11 »
Peace


Donni11

  • *
  • Posts: 2181
Peace

noxtudios

  • Posts: 293
You'll probably need to encrypt some data (of your choosing)

To make each key unique use the date and time and millisecond + a phrase
This should generate a fixed length codes when encrypted with a private key, all different

Then all you need to do is decrypt it in Stencyl using a public key and check for the phrase at the end.

All that was just off the top of my head, so there maybe a simpler way. (it may not even be possible in Stencyl.. Not sure)

Or maybe there is a way of generating a code without encryption, some formula, then use the same formula to check it. this would be less secure.

« Last Edit: July 25, 2016, 12:23:50 pm by noxtudios »