aboutsummaryrefslogtreecommitdiff
path: root/utils/rot13/index.html
blob: 525e14f296de7fbeace29b98aaeb005657eadacd (plain)
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
<!DOCTYPE html>

<html>
    <head>
        <title>cacharle - rot13</title>
        <link rel="stylesheet" type="text/css" href="../../style.css"/>
        <meta charset="utf-8"/>
	    <link rel="icon" type="image/png" href="../../favicon.png" />
        <style>
            textarea {
                resize: none;
            }
            input {
                width: 50%;
            }
        </style>
    </head>

    <body><div id="page-wrapper">
        <h1>rot13</h1>

        <p>Implementation of the <a href="https://en.wikipedia.org/wiki/ROT13">rot13</a> encryption</p>

        <div>Shift size: <span id="rot13-shift-output"></span></div>
        <input type="range" min=0 max=26 value=13 id="rot13-shift"/>

        <h3>Input</h3>
        <textarea cols=120 rows=10 id="rot13-input">rotate me!</textarea>

        <h3>Output</h3>
        <textarea cols=120 rows=10 id="rot13-output"></textarea>

    </div></body>
    <script src="script.js" type="text/javascript"></script>
</html>