forked from emn178/online-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase64_decode_file.html
130 lines (129 loc) · 5.58 KB
/
base64_decode_file.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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<meta name="description" content="Decode and download file from base64 online function">
<title>Base64 Decode File Online
</title>
<script>
if (location.hostname != 'localhost') {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-44208259-6', 'auto');
ga('send', 'pageview');
}
</script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Slab">
<link rel="stylesheet" href="css/style.css">
<script src="https://code.jquery.com/jquery-1.10.1.min.js"></script>
</head>
<body>
<div id="header">
<h1><a href="index.html">Online Tools</a></h1>
</div>
<div id="body">
<script src="js/main.js"></script>
<div id="main">
<h1>Base64 Decode File
</h1>
<div class="description">Decode and download file from base64 online function
</div>
<div class="input">
<textarea id="input" placeholder="Input"></textarea>
</div>
<div class="submit">
<input id="execute" type="button" value="Download" class="btn btn-default">
</div>
<div class="output">
<textarea id="output" placeholder="Output"></textarea>
</div><script>
$(document).ready(function() {
var download = $('<a class="btn btn-default" download="base64"/>').text('Download');
download.click(function() {
var base64Str = $('#input').val();
console.log(base64Str);
download.attr('href', 'data:application/octet-stream;base64,' + base64Str);
});
$('#execute').replaceWith(download);
$('.output').remove();
});
</script>
</div>
<div id="sidebar">
<ul class="menu">
<li>
<div class="menu-group">Hash</div>
</li>
<li><a href="crc16.html">CRC-16</a></li>
<li><a href="crc32.html">CRC-32</a></li>
<li><a href="md2.html">MD2</a></li>
<li><a href="md4.html">MD4 </a></li>
<li><a href="md5.html">MD5</a></li>
<li><a href="sha1.html">SHA1</a></li>
<li><a href="sha224.html">SHA224</a></li>
<li><a href="sha256.html">SHA256</a></li>
<li><a href="sha384.html">SHA384</a></li>
<li><a href="sha512.html">SHA512</a></li>
<li><a href="sha512_224.html">SHA512/224</a></li>
<li><a href="sha512_256.html">SHA512/256</a></li>
<li><a href="sha3_224.html">SHA3-224</a></li>
<li><a href="sha3_256.html">SHA3-256</a></li>
<li><a href="sha3_384.html">SHA3-384</a></li>
<li><a href="sha3_512.html">SHA3-512</a></li>
<li><a href="keccak_224.html">Keccak-224</a></li>
<li><a href="keccak_256.html">Keccak-256</a></li>
<li><a href="keccak_384.html">Keccak-384</a></li>
<li><a href="keccak_512.html">Keccak-512</a></li>
<li><a href="shake_128.html">Shake-128</a></li>
<li><a href="shake_256.html">Shake-256</a></li>
</ul>
<ul class="menu">
<li>
<div class="menu-group">Checksum</div>
</li>
<li><a href="crc16_checksum.html">CRC-16</a></li>
<li><a href="crc32_checksum.html">CRC-32</a></li>
<li><a href="md5_checksum.html">MD5</a></li>
<li><a href="sha1_checksum.html">SHA1</a></li>
<li><a href="sha224_checksum.html">SHA224</a></li>
<li><a href="sha256_checksum.html">SHA256</a></li>
<li><a href="sha3_224_checksum.html">SHA3-224</a></li>
<li><a href="sha3_256_checksum.html">SHA3-256</a></li>
<li><a href="sha3_384_checksum.html">SHA3-384</a></li>
<li><a href="sha3_512_checksum.html">SHA3-512</a></li>
<li><a href="keccak_224_checksum.html">Keccak-224</a></li>
<li><a href="keccak_256_checksum.html">Keccak-256</a></li>
<li><a href="keccak_384_checksum.html">Keccak-384</a></li>
<li><a href="keccak_512_checksum.html">Keccak-512</a></li>
<li><a href="shake_128_checksum.html">Shake-128</a></li>
<li><a href="shake_256_checksum.html">Shake-256</a></li>
</ul>
<ul class="menu">
<li>
<div class="menu-group">Encode / Decode</div>
</li>
<li><a href="base32_encode.html">Base32 Encode</a></li>
<li><a href="base32_decode.html">Base32 Decode</a></li>
<li><a href="base64_encode.html">Base64 Encode</a></li>
<li><a href="base64_decode.html">Base64 Decode</a></li>
<li><a href="base64_encode_file.html">Base64 Encode File</a></li>
<li><a href="base64_decode_file.html">Base64 Decode File</a></li>
<li><a href="html_encode.html">HTML Encode</a></li>
<li><a href="html_decode.html">HTML Decode</a></li>
<li><a href="url_encode.html">URL Encode</a></li>
<li><a href="url_decode.html">URL Decode</a></li>
</ul>
<ul class="menu">
<li>
<div class="menu-group">Misc</div>
</li>
<li><a href="syntax_highlight.html">Syntax Highlight</a></li>
</ul>
</div>
<script></script>
<script>method = ;</script>
</div>
<div id="footer">© 2015-2017 Online Tools</div>
</body>
</html>