mirror of
https://github.com/Hizenberg469/BPIT-ATTENDANCE.git
synced 2026-04-20 02:02:25 +03:00
initial commit
This commit is contained in:
14
junet/html/index.php
Normal file
14
junet/html/index.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
include 'encrypt_password.inc.php';
|
||||
include 'hash_gen.inc.php';
|
||||
include 'decrypt_password.inc.php';
|
||||
|
||||
$password = $_REQUEST['password'];
|
||||
$en_pwd = encrypt_password($password);
|
||||
|
||||
echo "Given Passowrd: ".$password."<br>";
|
||||
echo "Encrypted Password for database: ".$en_pwd." <br>";
|
||||
echo "Hash value of given password: ".gen_hash($password)."<br>";
|
||||
echo "Decrypted Password from the database: ".decrypt_password(strlen($password),$en_pwd);
|
||||
?>
|
||||
Reference in New Issue
Block a user