From 059e0d95d0c28bc5060e87e146eaf7411f51bf90 Mon Sep 17 00:00:00 2001 From: George Halkiadakis Date: Thu, 27 Apr 2023 03:47:30 +0300 Subject: skeleton commit; based on an anom project --- tests/auth.php | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100755 tests/auth.php (limited to 'tests/auth.php') diff --git a/tests/auth.php b/tests/auth.php new file mode 100755 index 0000000..26c057a --- /dev/null +++ b/tests/auth.php @@ -0,0 +1,58 @@ +cryptPassword($val); + $hash[] = $x; +} +?> + + + Dev Tools + + +

crypt passwords; then...

+

check password validation

+
+ ". $password[$i] ." -> ". $hash[$i]. "\n";
+    $verify[$i] = ($pass->isTextPasswordValid($password[$i], $hash[$i])) ? 'valid' : 'not-match';
+}
+
+?>
+
+ + + + + + \ No newline at end of file -- cgit v1.2.3