hash problem.

From: Date: Thu, 29 Jul 2010 14:13:43 +0000
Subject: hash problem.
Groups: php.general 
Request: Send a blank email to php-general+get-307210@lists.php.net to get a copy of this message
I´ve got the setting in my /etc/login.defs file as bellow: # Use MD5 or DES to encrypt password? Red Hat use MD5 by default. MD5_CRYPT_ENAB no ENCRYPT_METHOD SHA512 So, when I try to get this: echo hash("sha512", $_POST["password"]); It does not match the password the user´s got in /etc/shadow file. Anyone knows why? -- João Cândido de Souza Neto

« previous php.general (#307210) next »