What's a good approach for developing a simple serial number generator/verifier?

后端 未结 5 590
没有蜡笔的小新
没有蜡笔的小新 2020-12-28 10:14

I\'m working on an app I\'d like to sell some day -- sooner rather than later! I\'d like to develop a reasonably simple serial number scheme to protect it.

  • A s
5条回答
  •  余生分开走
    2020-12-28 11:01

    There is a Blog Post on sigpipe.macromates.com explaining how you use private/public key crypto for checking a serial number. It can verify that the user and Serialnumber match. (Signing/Verify). I would probably add some salt, just to be sure.

    As this post is from 2004, you should consider the recommended keylength at keylength.com.

提交回复
热议问题