OwnCloud Bcrypt Password Hash How To


#1

$password = password_hash($password, PASSWORD_BCRYPT, array("cost" => 7, "salt" => "getsaltfromconfig/config.php"));
$password = '1|'.$password;


#2

@michaelmcdonald When posting a thread in the FAQ section please provide some context whats the purpose of this post and what you want to achieve with it.

As this post currently contains no info except a code snippet i'm moving it into the development category.