home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / alt / hackers / 1141 < prev    next >
Encoding:
Internet Message Format  |  1992-07-22  |  1.4 KB

  1. Path: sparky!uunet!sun-barr!cs.utexas.edu!swrinde!sdd.hp.com!wupost!tulane!ukma!psuvax1!uxa.ecn.bgu.edu!miss059
  2. From: miss059@uxa.ecn.bgu.edu (Pug)
  3. Newsgroups: alt.hackers
  4. Subject: Re: /etc/passwords
  5. Keywords: what kind of encription
  6. Message-ID: <1992Jul22.231207.7366@uxa.ecn.bgu.edu>
  7. Date: 22 Jul 92 23:12:07 GMT
  8. References: <Brt4nI.IFw@undergrad.math.waterloo.edu>
  9. Organization: Pug's Pub and Pleasure Palace
  10. Lines: 20
  11. Approved: gods@everywhere.com
  12.  
  13. In article <Brt4nI.IFw@undergrad.math.waterloo.edu> nimouat@napier.waterloo.edu (Nikos Mouat) writes:
  14. >What kind of encoding scheme is used, is it RSA?
  15. >I noticed in the file, a userid, a bunch of letters, and a couple of
  16. >numbers, followed by a bunch of finger info.
  17. >Are the two numbers your n and p (I forget precisely how rsa encription works)
  18. >And if it is RSA encryption, does it use the unix ASCII equivalent to 
  19. >encode the letters? 
  20.  
  21. Try looking at passwd.c. It'll give you some ideas. That's where the
  22. encryption is done. If I remember right, it's an almost irreversible
  23. process. Login will encode what you type in and check it against what it
  24. has stored in /etc/passwd.
  25.  
  26. Have fun.
  27.  
  28. -- 
  29. Richard Bainter          Mundanely     |       "Teachers are supposed to
  30. Phelim Utred Gervas      Society       |        teach you *HOW* to learn 
  31. Pug                      Generally     |        not *WHAT* to learn."   
  32.   miss059@uxa.ecn.bgu.edu  |  pug@ccwf.cc.utexas.edu  |  pug@wixer.UUCP
  33.