-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex2.html
86 lines (66 loc) · 1.97 KB
/
index2.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Steganography</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"
integrity="sha256-9mbkOfVho3ZPXfM7W8sV2SndrGDuh7wuyLjtsWeTI1Q="
crossorigin="anonymous"
/>
<link rel="stylesheet" href="s1.css" />
<script src="st.js"></script>
<style>
.bg{
background: url('w2.jpg')no-repeat;
}
h5{
color: white;
font-size:x-large;
}
input{
background-color: aqua;
}
</style>
</head>
<body>
<div class="bg">
<div class="cont">
<div class="" >
<input
class="ui primary button"
type="file"
name="pic"
accept="image/*"
onchange="readURL(this);"
/>
<div class="ui input">
<input id="text" type="text" placeholder="Enter the message" />
</div>
<button class="ui secondary button" onclick="hideText()">
Hide Message Into Image
</button>
<div class="ui input">
<input id="keyInput" type="text" placeholder="Enter the key" />
<button onclick="ok()">key</button>
</div>
</div>
<div class="img-cont">
<div class="img1">
<h5>Source Image</h5>
<img id="image1" src="" alt="" />
</div>
<div class="">
<h5>Message Encoded Image</h5>
<img id="image2" src="" alt="" />
<a id="downloadEncodedImageBtn" class="ui secondary button" download>Download Encoded Image</a>
</div>
</div>
</div>
</div>
<script src="ind.js"></script>
</body>
</html>