home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / sci / crypt / 6282 < prev    next >
Encoding:
Internet Message Format  |  1992-12-30  |  1.3 KB

  1. Xref: sparky sci.crypt:6282 comp.binaries.ibm.pc.d:4291
  2. Newsgroups: sci.crypt,comp.binaries.ibm.pc.d
  3. Path: sparky!uunet!mnemosyne.cs.du.edu!nyx!rwirthli
  4. From: rwirthli@nyx.cs.du.edu (Ralph Wirthlin)
  5. Subject: Re: ARJ encryption
  6. Message-ID: <1992Dec30.145541.8530@mnemosyne.cs.du.edu>
  7. Sender: usenet@mnemosyne.cs.du.edu (netnews admin account)
  8. Organization: University of Denver, Dept. of Math & Comp. Sci.
  9. References: <1992Dec28.211703.12276@mnemosyne.cs.du.edu>
  10. Date: Wed, 30 Dec 92 14:55:41 GMT
  11. Lines: 21
  12.  
  13. rwirthli@nyx.cs.du.edu (Ralph Wirthlin) writes:
  14.  
  15. >    I was wondering if anyone knows the algorithm used in arj for
  16. >the encryption scheme.  It appears to XOR the compressed text with some
  17. >permutation of the password string (I suspect this is XOR'd with something
  18. >else as well).  If anyone knows, please email and I'll summarize, otherwise
  19. >I'll just figure it out myself.
  20.  
  21. Thanks to all those who responded.  I was able to figure out how ARJ does 
  22. it's encryption.  It was simpler than I suspected.  ARJ adds a single
  23. byte constant to each character in the password and then does an XOR
  24. with this new password to generate the encrypted, compressed file.
  25.   I suspect that this constant is generated from the system clock, but
  26. that doesn't really matter, since ARJ stores this constant in the
  27. local file header at offset 0xb.
  28.   
  29.  
  30.  
  31.  
  32.                     Ralph
  33.  
  34.