Re: crypt

From: Date: Fri, 04 Aug 2000 07:06:10 +0000
Subject: Re: crypt
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-10077@lists.php.net to get a copy of this message
Is there way, then, to encrypt then later on decrypt a variable? Thanks. Arnold Gamboa email: arnold@php4us.com For custom programming / web development visit http://www.php4us.com http://www.phpsolutions.net http://www.phplogin.com - Member management tool ---------------------------------------------------------------------------- -------------- If Christ is our programmer, how can our lives have bugs!!! ----- Original Message ----- From: "David Robley" <huntsman@www.nisu.flinders.edu.au> To: <arnold@php4us.com> Cc: <php-general@lists.php.net> Sent: Friday, August 04, 2000 2:08 PM Subject: Re: [PHP] crypt > On 4 Aug, Arnold Gamboa wrote: > > hi.. if crypt() is the function for encrypt.. what's the function for decrypt the encrypted variable.. thanks. > > > > Arnold Gamboa > > email: arnold@php4us.com > > For custom programming / web development visit > > http://www.php4us.com > > http://www.phpsolutions.net > > http://www.phplogin.com - Member management tool > > -------------------------------------------------------------------------- ---------------- > > If Christ is our programmer, how can our lives have bugs!!! > > There isn't one - crypt is one way. See > www.php.net/manual/function.crypt.php > > If you want to compare something with an encrypted something else, for > instance a user entered password against an encrypted password, just > encrypt the password supplied by the user and compare against the > stored, encrypted version. > > Cheers > -- > David Robley | WEBMASTER & Mail List Admin > RESEARCH CENTRE FOR INJURY STUDIES | > http://www.nisu.flinders.edu.au/ > AusEinet | > http://auseinet.flinders.edu.au/ > Flinders University, ADELAIDE, SOUTH AUSTRALIA > > >

« previous php.general (#10077) next »