On Sun, 19 Dec 2010 08:44:27 -0500, Rick Merrill wrote:

> I have found each web site uses different FIELD names for credit cards.
> SM 2 allows named fields to be purged upon exit, but it is NOT automatic.
> 
> I don't see how s/w could tell the difference ;-) between a credit card 
> number and a 
> USPS/UPS/FEDX tracking number (-:

<http://en.wikipedia.org/wiki/Luhn_algorithm>

You detect any 15/16 digit number that uses a cyclic redundancy check
(weren't you lecturing Callek on CRCs earlier?) based on the Luhn
algorithm. If you do it right you can also catch (and not save) Social
Security numbers and other sensitive information.

Phil

-- 
Philip Chee <phi...@aleytys.pc.my>, <philip.c...@gmail.com>
http://flashblock.mozdev.org/ http://xsidebar.mozdev.org
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.

_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to