Sign in to follow this  
Samurai Jack

Serial Number Generator

Recommended Posts

Greetings! I was wondering what methods or algorithms are used to generate serial numbers we usualy see by installing commercial products? I was thinking of something like this xxxxx-xxxxx-xxxxx-xxxxx-xxxxx ? What do they encode in souch kind of numbers? For example Name & Surname? Is there any PC Information encoded? Is it possible to have souch a generator where for one input you might get multiple serial codes that fit the pattern? Is there anything to use with NSIS or souch installers? Thank you in advance!

Share this post


Link to post
Share on other sites
A serial number can encode anything you want. What method is used to generate a serial number usually depends on what data it has to hold, and what it is going to be used for (just identification, or copy protection).

If you want a really simple serial number based on the name of a person, you could just do an MD5 hash on the string. An MD5 gives you 128 bits (or 16 bytes) of hash data, so if you printed each byte as a two-letter hex code, then you would have 32 letters for your serial number. Feel free to add in hyphens where you please. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this