From 69c13606dfdd8b3e8de348a328507e317353f276 Mon Sep 17 00:00:00 2001 From: hPrnicessPi3 Date: Thu, 15 May 2025 19:32:35 -0600 Subject: [PATCH] v0.5-dev --- auth.php | 14 ++++++++++++++ login.php | 19 +++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 auth.php create mode 100644 login.php diff --git a/auth.php b/auth.php new file mode 100644 index 0000000..68b904f --- /dev/null +++ b/auth.php @@ -0,0 +1,14 @@ + 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) +?> \ No newline at end of file diff --git a/login.php b/login.php new file mode 100644 index 0000000..f07cb40 --- /dev/null +++ b/login.php @@ -0,0 +1,19 @@ + + + + + + + Princess Pi's Nmaprincesspi Login! + + +
+ +
+ + \ No newline at end of file