saved ccard hash generation in php code example
Example 1: 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);
?>
Example 2: 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);