home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / sci / crypt / 3070 < prev    next >
Encoding:
Internet Message Format  |  1992-08-31  |  1.6 KB

  1. Path: sparky!uunet!paladin.american.edu!darwin.sura.net!wupost!sdd.hp.com!decwrl!csus.edu!netcom.com!netcomsv!wet!mcs
  2. From: mcs@wet.UUCP (Gil Nardo)
  3. Newsgroups: sci.crypt
  4. Subject: Re: Unix compatible crypt utility needed
  5. Message-ID: <4286@wet.UUCP>
  6. Date: 31 Aug 92 17:06:14 GMT
  7. References: <BtnAJ8.FtK.2@cs.cmu.edu>
  8. Organization: Wetware Diversions, San Francisco
  9. Lines: 34
  10.  
  11.  
  12. jmount+@CS.CMU.EDU (John Mount) writes:
  13. [ previous posters' discussing UNIX crypt deleted ]
  14. > No I don't think you understand how crypt works (or have it confused with
  15. > the unix password encryption scheme, which is intended to be one way).  Crypt
  16. > doesn't use DES (see below man page), it is a wimpy Enigma machine.  DES 
  17. > IS invertible (ie. people do decrypt DES messages).
  18. >
  19. [ man page on crypt deleted, except ...] 
  20. > SEE ALSO
  21. >      ed(1), makekey(8)
  22.  
  23. Crypt DOES use DES through makekey(). The gist of the process goes
  24. something like this:
  25.  
  26.  1) Pass a seed and user password to makekey() and get
  27.     back a DES'sed password.
  28.  2) Using the new, improved password create the rotor assembly
  29.     for the translational encryption.
  30.  3) Read a plaintext char from stdin and translate through rotor
  31.  4) Spit out cyphertext char to stdout, advance rotor, do 3 till EOD.
  32.  
  33. To decrypt, the rotor "assembly" is reversed, so you are effectively
  34. using the previous cyphertext as the plaintext in the above process.
  35.  
  36. [sensing impending doom, our author puts on a cancer causing asbestos suit]
  37. -- 
  38. Gil Nardo                  | mcs@wet.com
  39. Migrant Computing Services | (415)664-1032
  40. 1032 Irving Street, #435   |-----------------
  41. San Francisco, 94122       | Supernova = *!
  42.