🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.crypt
Article #506

Re: choosing passwords (was: Re: Crypt should be based on MD5)

#506
From: Erick Bryce Wong
Date: Sun, 26 Jul 1992 20:21
23 lines
1191 bytes
freitag@elrond.toppoint.de (Claus Schoenleber) writes:
>The last digit c of an ISBN is a (weighted) checksum MOD 11:
>
>[a  is digit a at position i, i=10 is leftmost]
>  i
>
>     [         / 10         \          ]
>     |        /  __          \         |
>c =  | 11 -  (   \   a  * i   ) mod 11 | mod 11
>     |        \  /_   i      /         |
>     [         \ i=2        /          ]

You can put this in slightly simpler terms if you define i=1 to be the leftmost
position, then the formula becomes (I think):

       / #digits    \  
      /  __          \ 
c =  (   \   a  * i   ) mod 11
      \  /_   i      / 
       \ i=1        /  

-- 
 -- Erick, the perfect square  :-)
Technical Details
Message-ID: <1992Jul26.202154.15664@sfu.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!ubc-cs!newsserver.sfu.ca!erick
References: <R8ZgoB3w165w@elrond.toppoint.de> <yZoioB1w165w@elrond.toppoint.de>

Show Full Headers
Complete Article Headers
Newsgroups: sci.crypt,comp.security.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!destroyer!ubc-cs!newsserver.sfu.ca!erick
From: erick@fraser.sfu.ca (Erick Bryce Wong)
Subject: Re: choosing passwords (was: Re: Crypt should be based on MD5)
Message-ID: <1992Jul26.202154.15664@sfu.ca>
Sender: news@sfu.ca
Organization: Simon Fraser University, Burnaby, B.C., Canada
References: <R8ZgoB3w165w@elrond.toppoint.de> <yZoioB1w165w@elrond.toppoint.de>
Date: Sun, 26 Jul 1992 20:21:54 GMT
Lines: 23