-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
40 lines (32 loc) · 1.19 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
?>
<!DOCTYPE>
<html>
<head>
<title>Password Encryption</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0-rc.2/angular.min.js"></script>
<link href="custom-style.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript">
function onLoad(){
document.getElementById('password').focus();
}
</script>
</head>
<body onload="onLoad()">
<br/>
<form method="post" action="encrypt.php" target="results" id="password-form">
<input type="text" name="password" id="password" class="form-control" placeholder="Enter Password"/>
<br/>
<input type="submit" name="submit" id="submit" class="form-control" value="Encrypt"/>
</form>
<div id="encryptedpassword">
<!-- <p>MD5: {{encryptPass}} </p> -->
<!-- <p>SHA1: <?php //echo sha1('{{encryptPass}}'); ?></p> -->
<iframe src="encrypt.php" name="results" width="100%" height="100%" id="resultframe"/>
</div>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
</body>
</html>