[OT] serial number validation algorithm?
[OT] serial number validation algorithm?
- Subject: [OT] serial number validation algorithm?
- From: petite_abeille <email@hidden>
- Date: Mon, 6 Oct 2003 13:15:15 +0200
Hello,
This is slightly off-topic... but it seems a popular question judging
from the mailing archives... still I'm not quiet clear about how to
handle that :/
This is mostly about how to validate a serial number... not necessarily
how to enforce it...
Assuming I have the right ingredients to seed a SN, what would be the
most straightforward way to validate such a number?
Looking around the net, I stumbled upon what credit card issuers seem
to use: the "Luhn Formula".
Here is an illustration:
http://www.brainjar.com/js/validation/default2.asp
Anyone have some experience using such a scheme to validate a serial
number? Any other "standard" alternatives?
Thanks in advance :)
Cheers,
PA.
P.S.
If you feel this question is too "sensitive" to debate in public, feel
free to contact me privately :)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.