添加 gen.php

This commit is contained in:
2026-07-02 10:32:52 +08:00
parent 16c6ef4d6c
commit e9671953e9
+6
View File
@@ -0,0 +1,6 @@
<?php
$raw = "Admin@2026";
$hash = password_hash($raw, PASSWORD_DEFAULT);
echo "哈希:" . $hash . "<br>";
var_dump(password_verify($raw, $hash));
?>