This commit is contained in:
2025-05-15 19:45:27 -06:00
parent 9a0b7e951d
commit 79f4caf9dd
2 changed files with 0 additions and 33 deletions
-14
View File
@@ -1,14 +0,0 @@
<?php
$code = "1111";
$salt = "354rgf4efg45tg45g45tg45tg";
$argon2id_options = [
'memory_cost' => PASSWORD_ARGON2_DEFAULT_MEMORY_COST,
'time_cost' => PASSWORD_ARGON2_DEFAULT_TIME_COST,
'threads' => PASSWORD_ARGON2_DEFAULT_THREADS
];
$passHash = password_hash($code, PASSWORD_ARGON2ID, $argon2id_options);
echo password_verify($code, $passHash)
?>
-19
View File
@@ -1,19 +0,0 @@
<?php
if(!empty($_POST['code'])) {
require('auth.php');
$supplied = hash();
}
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Princess Pi's Nmaprincesspi Login!</title>
</head>
<body>
<form action="login.php" method="post">
<input type="password" name="code"> <input type="Login">
</form>
</body>
</html>