Date: Mon, 29 Jun 1998 12:15:30 +0100 From: Karl Pielorz <kpielorz@tdx.co.uk> To: Dean Hollister <dean@odyssey.apana.org.au> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: HTML Password changer Message-ID: <35977752.DE6506C7@tdx.co.uk> References: <Pine.BSF.3.96.980629180827.12748A-100000@odyssey.apana.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Dean Hollister wrote: > > Hiyall, > > I have the necessary code to encrypt the new password and so on, but what > about decrypting the old one, and comparing to the entered one, using > Perl? > > Anyone done it? If your on about passwords from /etc/passwd etc. - you can't decrypt them, it's one way encryption... You have to take the password the user has given you, encrypt it - and them compare the result with the encrypted password on the system... Regards, Karl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35977752.DE6506C7>