[thelist] Need to add a serial number system to my ASP script.

Joshua Olson joshua at waetech.com
Mon Sep 13 09:45:30 CDT 2004

> -----Original Message-----
> From: Craig
> Sent: Monday, September 13, 2004 10:19 AM
> Hi Joshua,
> > I'd suggest using self-validating serial numbers.  Example:
> >
> > apple-ojfhodhgyigfiuhdghdf
> >
> > How's this work?
> >
> > Simple.. the part before the dash is a salt value, the second part
> > is a hash of the magic password + the salt value.
> That sounds very interesting, I have a general idea on how to do this. But
> would you have any links where I can read up on this process?


It's not a whole lot more complicated than what I posted above.  You will
need to know how to make a hash:


To add a salt value to the string, simply concatenate...  Then run it
through the MD5 algorithm.  If the result is the second part of the serial
number, the entire serial number is valid.

I don't know if anybody has ever documented this process on the web.  You
may consider checking around google for a bit.

Joshua Olson
Web Application Engineer
WAE Tech Inc.

More information about the thelist mailing list