password_hash function
<?php
$cost = 14;
$password = 'Hello';
$passwordHash = password_hash($password, PASSWORD_BCRYPT, ['cost' => $cost]);
echo $passwordHash;
<?php
$cost = 14;
$password = 'Hello';
$passwordHash = password_hash($password, PASSWORD_BCRYPT, ['cost' => $cost]);
echo $passwordHash;
Leave a Comment
Cancel reply