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.
Credit Card numbers use the Luhn algorithm you might want to look at something similar to that.