Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php hash password


/* Password. */
$password = 'my secret password';

/* Set the "cost" parameter to 12. */
$options = ['cost' => 12];

/* Create the hash. */
$hash = password_hash($password, PASSWORD_DEFAULT, $options);

Source by alexwebdevelop.com #
 
PREVIOUS NEXT
Tagged: #php #hash #password
ADD COMMENT
Topic
Name
5+9 =