#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Include dependency graph for mod10.c:
Functions | |
int | mod10check (char *card) |
int | main (int argc, char *argv[]) |
Start of execution. |
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)
Stripe Snoop is licensed under the GPL. See COPYING for more info
Copyright (C) 2005 Acidus, Most Significant Bit Labs
|
Start of execution.
|
Here is the call graph for this function:
|
|