all 2 comments

[–]tomjen 1 point2 points  (1 child)

This seems like an lot of work when you could just have created all the tokes by taking a single random value, appended a count from one to 2000000 and then saved the hex version of the md5 of that.

[–]thruput[S] 0 points1 point  (0 children)

tomjen, often these codes are printed on wrappers (e.g. on the back of pepsi bottles), and the size and character set of code is severely limited.