From owner-freebsd-questions Mon Jun 29 10:35:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA26835 for freebsd-questions-outgoing; Mon, 29 Jun 1998 10:35:43 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gate.ljis.ml.org (cyberworld.demon.co.uk [158.152.125.109]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA26803 for ; Mon, 29 Jun 1998 10:35:19 -0700 (PDT) (envelope-from ljohnston@cyberworld.demon.co.uk) Received: (from ljohnston@localhost) by gate.ljis.ml.org (8.8.8/8.8.8) id SAA01098; Mon, 29 Jun 1998 18:35:17 +0100 (BST) (envelope-from ljohnston) Message-ID: <19980629183517.D1055@ljis.ml.org> Date: Mon, 29 Jun 1998 18:35:17 +0100 From: Lee Johnston To: Dean Hollister , FreeBSD Questions Subject: Re: HTML Password changer References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: ; from Dean Hollister on Mon, Jun 29, 1998 at 06:09:22PM +0800 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jun 29, 1998 at 06:09:22PM +0800, 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? I did a while ago, I used the perl function substr, if your usign PERL5 see the perldoc on substr (perldoc -f substr | more). Lee. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message