-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsha1.php
More file actions
138 lines (133 loc) · 6.36 KB
/
sha1.php
File metadata and controls
138 lines (133 loc) · 6.36 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?php
include("main.php");
?>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Generator Free Online SHA1 hash String.The SHA1 convert SHA1 encode.">
<meta name="keywords" content="SHA1,SHA1 Hash Generator, SHA1 Online,SHA1 generator, SHA1 check,SHA1 online,sha1,sha1 function,sha1 Hash generator" >
<title>Generate Free Sha1 Hash Algorithm| Online Hash Generate</title>
<link rel="shortcut icon" type="image/png" href="image/favicon.png">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" type="text/css" href="dist/css/bootstrap.min.css">
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet"> <!--Tailwind Css-->
</head>
<body>
<!-- navbar -->
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Hashing</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="index.html">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="md5.php">Convert MD5</a>
</li>
<li class="nav-item">
<a class="nav-link" href="sha1.php">Convert Sha1</a>
</li>
<li class="nav-item">
<a class="nav-link" href="other.php">All Algorithm</a>
</li>
<li class="nav-item">
<a class="nav-link" href="Gst.php">GST Calculator</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://infotechnologyxyz.blogspot.com/">Blog</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://forms.gle/GxLhNiiHP2A8Yi8W7">Contact Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="privacy.html">Privacy Policy</a>
</li>
</ul>
</div>
</nav>
<!-- Sha1 algoritham -->
<section class="text-gray-700 body-font relative">
<div class="container px-5 py-24 mx-auto">
<div class="row">
<div class="col-md-1"></div> <!--ADS-->
<div class="col-md-10"> <!--New Col add-->
<div class="flex flex-col text-center w-full mb-12">
<h1 class="sm:text-3xl text-2xl font-medium title-font mb-4 text-gray-900">Convert Sha1 Algoritham</h1>
<p class="lg:w-2/3 mx-auto leading-relaxed text-base"></p>
</div>
<form action="sha1.php" method="POST">
<div class="md:w-1/2 md:w-2/3 mx-auto">
<div class="flex flex-wrap -m-2">
<div class="p-2 w-full">
<textarea name="plaintext" class="w-full bg-gray-100 rounded border border-gray-400 focus:outline-none h-48 focus:border-teal-500 text-base px-4 py-2 resize-none block" placeholder="Message" required="Tyep Message.."></textarea>
</div>
<div class="p-2 w-full">
<button type="submit" name="submit" class="flex mx-auto text-white bg-teal-500 border-0 py-2 px-8 focus:outline-none hover:bg-teal-600 rounded text-lg">Convert</button>
</div>
</div>
<br>
<!-- Show the Output -->
<div class="alert alert-success" role="alert" id="not" style="display: none;">
<p>Sha1 Converted:</p><br>
<?php
if(isset($_SESSION["md5"])){
$error = $_SESSION["md5"];
$text = $_SESSION['pt'];
echo "Plain text : $text"."<br>";
echo "<span>Result : $error</span>";
echo "<script type=\"text/javascript\">document.getElementById('not').style.display = 'block';</script>";
}
unset($_SESSION['md5']);
?>
</div>
<div class="row">
<div class="col-md-12"></div> <!--ADS-->
</div>
</div>
</form>
</div>
<div class="col-md-1"></div><!--ADS-->
</div>
</div>
</section> <!--End Contact-->
<!-- end Algoritham -->
<!-- footer Section Start -->
<footer class="text-gray-700 body-font">
<div class="container px-5 py-8 mx-auto flex items-center sm:flex-row flex-col">
<a class="flex title-font font-medium items-center md:justify-start justify-center text-gray-900">
<span class="ml-3 text-xl">Hashing</span>
</a>
<p class="text-sm text-gray-500 sm:ml-4 sm:pl-4 sm:border-l-2 sm:border-gray-200 sm:py-2 sm:mt-0 mt-4">© 2020 Hashing —
<a href="https://twitter.com/programmers0_0" class="text-gray-600 ml-1" rel="noopener noreferrer" target="_blank">@programmer0_0</a>
</p>
<!-- contact -->
<!--<p class="text-sm text-gray-500 sm:ml-4 sm:pl-4 sm:border-l-2 sm:border-gray-200 sm:py-2 sm:mt-0 mt-4">Contact: Hashing2021@gmail.com</p>-->
<span class="inline-flex sm:ml-auto sm:mt-0 mt-4 justify-center sm:justify-start">
<a class="text-gray-500" href="https://www.facebook.com/harshal1882001/">
<svg fill="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-5 h-5" viewBox="0 0 24 24">
<path d="M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"></path>
</svg>
</a>
<a class="ml-3 text-gray-500" href="https://twitter.com/programmers0_0">
<svg fill="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-5 h-5" viewBox="0 0 24 24">
<path d="M23 3a10.9 10.9 0 01-3.14 1.53 4.48 4.48 0 00-7.86 3v1A10.66 10.66 0 013 4s-4 9 5 13a11.64 11.64 0 01-7 2c9 5 20 0 20-11.5a4.5 4.5 0 00-.08-.83A7.72 7.72 0 0023 3z"></path>
</svg>
</a>
<a class="ml-3 text-gray-500" href="https://www.instagram.com/programmers0_0/">
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-5 h-5" viewBox="0 0 24 24">
<rect width="20" height="20" x="2" y="2" rx="5" ry="5"></rect>
<path d="M16 11.37A4 4 0 1112.63 8 4 4 0 0116 11.37zm1.5-4.87h.01"></path>
</svg>
</a>
</span>
</div>
</footer> <!--End Footer-->
</body>
</html>