coupon
Coupon code generation
Basically you can split your operation into to parts: Somehow “encrypt” your initial number n, so that two consecutive numbers yield (very) different results Construct your “human-readable” code from the result of step 1 For step 1 I’d suggest to use a simple block cipher (e.g. a Feistel cipher with a round function of your … Read more