Re: crypt

From: Date: Fri, 04 Aug 2000 06:08:58 +0000
Subject: Re: crypt
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-10074@lists.php.net to get a copy of this message
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 (#10074) next »