Search code examples
algorithmgeneratorvalidationserial-number

Out of curiosity: How are serial numbers generated? Hints, Algorithms?


I wondering about how serial number generators and validator work. My aim would be to generate a serial number with five parts consisting of numbers and letters only.

I enjoy coding as a hobby and would not call myself a professional programmer. However, I am very interested in how those interesting functions work technically to broaden my mind.

Any hints, experiences or written algorithms are appreciated.


Solution

  • Brandon Staggs wrote a good article on Implementing a Partial Serial Number Verification System. The examples are written in Delphi, but could be converted to other languages.