home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!agate!purina.berkeley.edu!gibson
- From: gibson@purina.berkeley.edu (richard Gibson)
- Newsgroups: sci.crypt
- Subject: Need reference for weighted checksum code
- Date: 21 Dec 1992 19:29:11 GMT
- Organization: U.C. Berkeley Math. Department.
- Lines: 24
- Sender: Richard Gibson
- Distribution: usa
- Message-ID: <1h55u7INNgv1@agate.berkeley.edu>
- NNTP-Posting-Host: purina.berkeley.edu
-
- Howdy!
-
- Someone recently brought me a problem concerning an error-detecting weighted
- code with a modulo 11 checksum that she's using in her business.
-
- In short, a bunch of items are given 10 digit identification numbers.
- Let N_i denote the ith digit of the number.
- Each number has the property that SUM(A_i * N_i) is congruent to 0 mod 11,
- where {A_i} are weights as follows: {1, 2, 5, 3, 6, 4, 8, 7, 10, 9}.
-
- The obvious advantages of this identification system are that no single
- digit errors in a valid number and no single transposition of digits in
- a valid number will produce another valid number.
-
- Question: What is the advantage of the weights being mixed up like that?
- (i.e. why isn't A_i just set equal to i?)
- References about this particular system would be the most appreciated because
- I know this weighting must have been written about somewhere. I just can't
- find it.
-
- Thanks,
-
- Richard
- Gibson@math.ucb.edu
-