1 echo password_hash("rasmuslerdorf", PASSWORD_DEFAULT);
1 验证: 2 $s = "123456"; 3 $hase = password_hash($s, PASSWORD_ARGON2I); 4 var_dump(password_verify($s, $hash))
1 echo password_hash("rasmuslerdorf", PASSWORD_DEFAULT);
1 验证: 2 $s = "123456"; 3 $hase = password_hash($s, PASSWORD_ARGON2I); 4 var_dump(password_verify($s, $hash))