How do you hide secret keys in code?

前端 未结 10 1613
不思量自难忘°
不思量自难忘° 2020-12-04 19:20

I\'ve wondered for some time how some software hides secret keys in such a way that they can\'t be trivially discovered. Just a few examples:

  • DVD Player Softwa
10条回答
  •  一整个雨季
    2020-12-04 19:56

    When we started developing our software, we've created a dated license file. Then, we realized, that not too many people are even interested in buying our software. Then, we decided to give it away for free. A lot more people started to care at least trying our masterpiece. Finally, we've open sourced our software. A lot more users started using it. Now we just hope that a small number of these users might turn into paying customers (i.e. buying prod. support or asking for customization).

    The bottom line is, if someone wants to crack your software, he/she'll do it anyway. Is it really worth it to waste your time trying to protect it with this hidden secret key?

提交回复
热议问题