Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

mod10.c File Reference

Stand-alone tool to generate and validate account numbers. More...

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

Include dependency graph for mod10.c:

Include dependency graph

Functions

int mod10check (char *card)
int main (int argc, char *argv[])
 Start of execution.


Detailed Description

Stand-alone tool to generate and validate account numbers.

Has 2 modes: "mod10" will take in a credit card number and tell whether it is valid or not based on the Luhn algorithm.

"mod10 -g [num]" generate an account number of length [num], given a prefix.

This tool was designed to be used with "bitgen," to generate valid bitstreams for Stripe Snoop, and to allow people without a hardware reader to use Stripe Snoop (http://stripesnoop.sourceforge.net)

Author:
Acidus (acidus@msblabs.org)
This file is part of Stripe Snoop (http://stripesnoop.sourceforge.net)

Stripe Snoop is licensed under the GPL. See COPYING for more info

Copyright (C) 2005 Acidus, Most Significant Bit Labs


Function Documentation

int main int  argc,
char *  argv[]
 

Start of execution.

Parameters:
argc number of command line params
argv char * [] of command line params

Here is the call graph for this function:

int mod10check char *  card  ) 
 


Generated on Thu Apr 7 01:56:12 2005 for StripeSnoop by doxygen 1.3.3