ISIN, CUSIP and SEDOL codes identify securities used in financial trading. The following code can be used to check that a code looks valid. In other words, if the number passes the check then it is possibly a valid code - numbers that fail the check can never be valid.
validate_isin.c - ISIN algorithm and test harness in C
validate_isin.f - ISIN algorithm and test harness in FORTRAN
validate_cusip.c - CUSIP algorithm and test harness in C
validate_sedol.c - SEDOL algorithm and test harness in C
Last updated: 30th January 2007