mirror of
https://github.com/zyqunix/tools.git
synced 2025-07-06 06:20:30 +02:00
add base64 encoder/decoder
This commit is contained in:
parent
825c90e3b1
commit
a0cff01c36
3 changed files with 87 additions and 0 deletions
27
base64/index.html
Normal file
27
base64/index.html
Normal file
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Base64 Encoder/Decoder</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<link rel="shortcut icon" href="https://rimgo.pussthecat.org/RFbdMMB.png" type="image/x-icon">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Base64 Encoder/Decoder</h1>
|
||||
<div class="card">
|
||||
<h2>Base64 Encoder</h2>
|
||||
<textarea id="encodeInput" rows="5" cols="50" placeholder="Enter text to encode"></textarea>
|
||||
<textarea id="encodeOutput" rows="5" cols="50" readonly placeholder="Encoded Base64 result"></textarea>
|
||||
<button id="encode">Encode</button>
|
||||
</div>
|
||||
|
||||
<div class="card">
|
||||
<h2>Base64 Decoder</h2>
|
||||
<textarea id="decodeInput" rows="5" cols="50" placeholder="Enter Base64 to decode"></textarea>
|
||||
<textarea id="decodeOutput" rows="5" cols="50" readonly placeholder="Decoded result"></textarea>
|
||||
<button id="decode">Decode</button>
|
||||
</div>
|
||||
<script src="index.js"></script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue