Public bug reported: <?php
echo crypt('1369300336testtest','$2a$07$test$'); Expected output: $2a$07$test$$$$$$$$$$$$$$$$$.GVFrRLA8cMXgjWnT.WAmIxjyOAwUXSS Returned output: $2a$07$test$ This happens on several different Ubuntu boxes with different versions of PHP installed. This does not happen on CentOS, MacOS, Windows. $ php -v PHP 5.3.10-1ubuntu3.6 with Suhosin-Patch (cli) (built: Mar 11 2013 14:31:48) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies with Xdebug v2.1.0, Copyright (c) 2002-2010, by Derick Rethans ** Affects: php5 (Ubuntu) Importance: Undecided Status: New ** Tags: blowfish crypt ** Information type changed from Private Security to Public -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to php5 in Ubuntu. https://bugs.launchpad.net/bugs/1183338 Title: Crypt Blowfish only returns salt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/1183338/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs