Algorithm for unique CD-KEY generation with validation

后端 未结 5 675
忘掉有多难
忘掉有多难 2021-01-01 02:46

I am trying to create a unique CD-KEY to put in our product\'s box, just like a normal CD-KEY found in standard software boxes that users use to register the product.

<
5条回答
  •  一向
    一向 (楼主)
    2021-01-01 03:50

    Credit Card numbers use the Luhn algorithm you might want to look at something similar to that.

提交回复
热议问题