#45655 [Opn->Fbk]: result of crypt() without salt is always empty

From: Date: Tue, 29 Jul 2008 13:44:00 +0000
Subject: #45655 [Opn->Fbk]: result of crypt() without salt is always empty
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-127391@lists.php.net to get a copy of this message
ID: 45655 Updated by: pajoye@php.net Reported By: iver at jackewitz dot de -Status: Open +Status: Feedback Bug Type: *Encryption and hash functions Operating System: ubuntu 8.04 PHP Version: 5.2.6 -Assigned To: +Assigned To: pajoye New Comment: It really depends of which libc you use, and if you have the right algorithm present. If MD5 and DES are not present, them it is expected. Please try using PHP 5.3 snapshot, all algorithms are now available, no matter which libc you use (or not). Previous Comments: ------------------------------------------------------------------------ [2008-07-29 13:09:18] iver at jackewitz dot de Description: ------------ Desc: result of crypt() without salt is always empty PHP-Version: - 5.2.4 - 5.2.6 5.2.3 it's okay Reproduce code: --------------- echo(crypt('Hallo')); Expected result: ---------------- 1rwefw34rf2345wer # something like that ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45655&edit=1

« previous php.bugs (#127391) next »