RE: [PHP] Encryption Problem

From: Date: Thu, 22 Mar 2001 22:49:30 +0000
Subject: RE: [PHP] Encryption Problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45201@lists.php.net to get a copy of this message
quite possibly you did not compile PHP with mcrypt library support. for linux distrib's, mcrypt is not default, you have to specify ./configure --with-mcrypt to get mcrypt functionality (i dont know whether it's included by default with the win binary, but i doubt it) do the phpinfo() thing and see if mcrypt is there. > -----Original Message----- > From: darion mapp [mailto:godd_mapp@lycos.com] > Sent: Thursday, March 22, 2001 5:19 PM > To: php-general@lists.php.net > Subject: [PHP] Encryption Problem > > > ok, so i have want to encrypt my user password in the mySQL Database and > well that is not working but in addition to that when the user logges into > the system i have to encrypt their password and compare the two encrypted > passwords to see if they match. this is where my problem starts. I get the > same error for both the registration process where the password is > encrypted to be placed into the database and when the use logs in and the > password is encrypted to be compared. > > The web browser errors to "Page cannot bbe displayed (IE)" and only when > the line below is commented out does it work fine. > > HELP!!!! Project was due last week so i am pressed for time > > $txtPass = mcrypt_ecb(MCRYPT_BLOWFISH, $key, $txtPass, MCRYPT_ENCRYPT); > > > Get 250 color business cards for FREE! at Lycos Mail > http://mail.lycos.com/freemail/vistaprint_index.html > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#45201) next »