Just FYI, MOD10 is a check-digit algorithm, used for things besides CC numbers. It is useful for checking the validity of pretty much any numeric input. It grew out of the older days of data processing as a means of validating data entry (identifying keypunch errors). If any digit is mistyped or numbers are transposed, the check-digit will not match, making it easy to identify errors.

A side effect of having a check-digit is that if you have a credit card number with a missing digit, with a little careful math you can calculate the missing digit. I've done this in the past when a number didn't quite transfer on the old machines that took imprints. Some of you youngsters may know what I'm talking about. In that case, never mind. ;)

--
-Eric 'shubes'

On 01/28/2011 09:49 AM, Shawn Badger wrote:
Found the script I was talking about earlier that does the MOD10 check
on the number to see if is a credit card number or not.

http://www.elifulkerson.com/projects/python-creditcard-mod10-check.php




On Tue, Jan 25, 2011 at 3:29 PM, Hunter Kreie <[email protected]
<mailto:[email protected]>> wrote:

    I’m looking for a lightweight, open-source STMP proxy that I can use
    to mask credit card numbers on inbound messages. This is
    content-manipulation or content-scrubbing vs. content-filtering. I’m
    sure this can be done with quite a few packages, but what’s your
    recommendation?

    ----

    Fairytale Brownies & friends have raised $30,000 to build a
    playground with KaBOOM! Help us reach our goal of $72,000 by April 2011.

    Make your donation <http://kaboom.org/donate>and mark on behalf of
    “Fairytale Brownies Playground Project”. Thanks for your support!

    ----

    *Hunter Kreie*

    Information Technology Team Leader

    Fairytale Brownies

    4610 E. Cotton Center Blvd, Suite 100

    Phoenix, AZ 85040-8988

    [email protected] <mailto:[email protected]>

    Direct: 602.489.5149 <tel:+16024895149>

    Main: 602.489.5100 <tel:+16024895100>

    Fax: 602.489.5133 <tel:+16024895133>

    **

    *Join us on:*

    blog.brownies.com <http://blog.brownies.com/>

    Description: facebook
    
<http://www.facebook.com/pages/Fairytale-Brownies/17947896355?ref=ts>Description:
    twitter <http://twitter.com/ftbrownies>Description: youtube
    <http://www.youtube.com/fairytalebrownies>


    ---------------------------------------------------
    PLUG-discuss mailing list - [email protected]
    <mailto:[email protected]>
    To subscribe, unsubscribe, or to change your mail settings:
    http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss




---------------------------------------------------
PLUG-discuss mailing list - [email protected]
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Reply via email to