password_hash function
<?php
$options = [
'memory_cost' => '65536',
'time_cost' => 4,
'threads' => 2,
];
$password = 'Hello';
$passwordHash = password_hash($password, PASSWORD_ARGON2I, $options);
echo $passwordHash;
<?php
$options = [
'memory_cost' => '65536',
'time_cost' => 4,
'threads' => 2,
];
$password = 'Hello';
$passwordHash = password_hash($password, PASSWORD_ARGON2I, $options);
echo $passwordHash;
Leave a Comment
Cancel reply