- password_hash: documentation ( source)
<?php
echo password_hash("rasmuslerdorf", PASSWORD_DEFAULT)."\n";
$options = array('cost' => 8);
echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n";
$options = array('cost' => 9);
echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n";
$options = array('cost' => 10);
echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n";
$options = array('cost' => 11);
echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n";
$options = array('cost' => 12);
echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n";
$options = array('cost' => 13);
echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n";
$options = array('cost' => 14);
echo password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options)."\n";
This script was stopped while abusing our resources