ECE4253 Digital Communications | |
Department of Electrical and Computer Engineering - University of New Brunswick, Fredericton, NB, Canada | |
This particular algorithm is part of a standard (ISO-7812-1) used worldwide for various credit cards. (Specific Applications)
Checking [1234467222444777] 1 2 3 4 4 6 7 2 2 2 4 4 4 7 7 7 x2 x1 x2 x1 x2 x1 x2 x1 x2 x1 x2 x1 x2 x1 x2 x1 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 2 2 6 4 8 6 14 2 4 2 8 4 8 7 14 7 2 + 2 + 6 + 4 + 8 + 6 + 5 + 2 + 4 + 2 + 8 + 4 + 8 + 7 + 5 + 7 = 80 |
There is a one-in-ten chance that a totally random number will pass this simple validity test.
2024-04-25 22:23:33 ADT
Last Updated: 2015-03-05 |
Richard Tervo [ tervo@unb.ca ] | Back to the course homepage... |