PHP 5.5-like password functions for PHP 5.3 and 5.4