Make hash() public for future use

This commit is contained in:
Andy Miller
2015-11-23 19:07:12 -07:00
parent 17f3ca6eba
commit b8f00243e6

View File

@@ -474,7 +474,7 @@ abstract class Utils
*
* @return string hashed value of $data, cut to 10 characters
*/
private static function hash($data)
public static function hash($data)
{
$hash = password_hash($data, PASSWORD_DEFAULT);
return $hash;