Audrey
0
Q:

password_hash

<?php
/**
 * For the VAST majority of use-cases, let password_hash generate the salt randomly for you.
 */
$password = 'idkWhatToUse';

$hashedPassword= password_hash($password, PASSWORD_DEFAULT);
?>
1

New to Communities?

Join the community