From owner-freebsd-questions Tue Sep 15 13:05:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA20616 for freebsd-questions-outgoing; Tue, 15 Sep 1998 13:05:57 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from stage1.thirdage.com (stage1.ThirdAge.com [204.74.82.151]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA20601 for ; Tue, 15 Sep 1998 13:05:51 -0700 (PDT) (envelope-from jal@ThirdAge.com) Received: from gigi (gigi.ThirdAge.com [204.74.82.169]) by stage1.thirdage.com (8.8.5/8.8.5) with SMTP id NAA18432; Tue, 15 Sep 1998 13:01:16 -0700 (PDT) Message-Id: <3.0.5.32.19980915130347.00b9c490@204.74.82.151> X-Sender: jal@204.74.82.151 X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Tue, 15 Sep 1998 13:03:47 -0700 To: Khan Khalid M From: Jamie Lawrence Subject: Re: Request please... Cc: questions@FreeBSD.ORG In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG crypt (assuming that's what you're using) uses modified DES to create a hash of the password and a "salt" - a semi-random value that ensures that the encrypted value is unique, or at least very hard to duplicate. If you're really interested, I suggest Applied Cryptography, by Bruce Schneier (http://www.counterpane.com/). Crypto is difficult stuff. -j At 03:33 PM 9/15/98 -0400, you wrote: > >Hello, > >I am tring to learn how the encryption system works... >I gave a passwd of "aabbcc" and wrote the passwd cryption >and then changed it to something else and back again. Then two >crypt of the same password was drifferent. I am tring find how >does the system check the passwd for user loging on to the system, >when encryption are drifferent. Or does it more then one encrypt >system ???? > >So where can i find some reading info .. so that i can find >how this is working. And also where can i get the code for >passwd.c > >-Thanks >-Khalid Khan > student@wayne-state-un > > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message