-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (65 loc) · 13 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>José Alarcón | TextDecoder</title>
<link rel="shortcut icon" href="assets/jose alarcon.ico" type="image/x-icon">
<link rel="stylesheet" href="assets/style.css">
</head>
<body>
<main>
<div class="header">
<a href="https://jose-alarcon.com" target="_blank" rel="noreferrer noopener" class="mark">
<div class="logo">
<div></div>
<div></div>
<div></div>
</div>
<span>José Alarcón | TextDecoder</span>
</a>
</div>
<div class="encrypt">
<textarea name="txt-input" id="txt-input" cols="30" rows="10" placeholder="Type your text..." title="Lowercase letters only and no accents." data-pattern="^[a-z\s+]+$" required></textarea>
<p id="info">***Lowercase letters only and no accents.</p>
<button class="btn-encrypt" >Encrypt</button>
<button class="btn-decrypt" >Decrypt</button>
</div>
<div class="decrypt">
<div id="img-show">
<svg
version="1.1"
id="svg9"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs13" />
<g
id="g15">
<path
style="fill:#0a3871;stroke-width:0.856867"
d="m 38.580027,466.02872 c -2.337936,-4.46519 0.291061,-6.98735 7.28335,-6.98735 5.570217,0 7.094943,0.93084 7.094943,4.3315 0,3.49745 -1.495672,4.3315 -7.767514,4.3315 -4.801053,0 -5.876101,-0.27249 -6.610779,-1.67565 z m 25.565765,0.63609 c -1.426191,-1.45777 -1.265896,-4.64642 0.314801,-6.26211 1.182532,-1.20873 7.309318,-1.36133 54.653607,-1.36133 h 53.32175 l -1.67944,-2.81548 c -3.16447,-5.30502 -1.9304,-12.43379 2.96185,-17.10944 2.02325,-1.93366 3.12031,-2.19787 10.23758,-2.46548 l 7.9715,-0.29973 4.13733,-4.89807 c 9.43155,-11.16574 13.63652,-20.29833 14.32125,-31.10366 l 0.45289,-7.14698 h 38.01965 38.01965 l 0.0147,3.24863 c 0.0486,10.72237 6.05181,24.92147 14.53945,34.38932 l 5.08933,5.67707 h 6.57987 c 7.94846,0 11.29975,1.83096 14.28348,7.8037 2.22176,4.44743 1.96841,8.33007 -0.80315,12.30854 l -1.68004,2.41158 h 53.39194 c 47.40807,0 53.54119,0.15257 54.72377,1.36133 1.58069,1.61569 1.74099,4.80434 0.3148,6.26211 -1.4804,1.51318 -367.706208,1.51318 -369.186608,0 z m 380.736028,0.39325 c -1.75944,-1.26372 -2.10749,-3.91059 -0.7854,-5.973 1.21267,-1.89175 1.86593,-2.04369 8.78699,-2.04369 6.43773,0 7.69336,0.24445 9.03417,1.75883 1.23297,1.39259 1.38884,2.24945 0.74854,4.11493 -0.79523,2.31684 -0.94254,2.35976 -8.84182,2.57608 -4.41823,0.121 -8.44233,-0.0739 -8.94248,-0.43315 z M 63.464628,383.31497 c -4.874891,-1.56521 -10.705301,-5.87455 -13.836743,-10.22693 -5.466148,-7.59737 -5.144924,2.48574 -5.144924,-161.5002 0,-147.941867 0.01509,-149.288286 1.723329,-153.955115 2.198414,-6.005877 7.458264,-12.116076 13.004005,-15.106332 l 4.342222,-2.341322 183.491503,-0.245619 c 137.81788,-0.184481 184.39046,0.006 187.103,0.76502 7.80221,2.183364 15.72456,10.388625 18.09976,18.746109 0.97775,3.440338 1.17222,28.844085 1.17222,153.128289 0,142.2798 -0.0702,149.20938 -1.55455,153.56177 -2.06786,6.06315 -8.51199,13.21951 -14.31971,15.90238 l -4.4666,2.06335 -183.06774,0.16266 C 102.6112,384.4 66.265005,384.21411 63.464628,383.31497 Z M 250.81817,369.71829 c 6.64817,-1.88661 11.52164,-9.95804 10.2374,-16.9552 -0.61084,-3.32816 -4.66363,-8.43399 -8.16251,-10.28339 -5.5709,-2.94461 -14.28901,-0.42328 -17.62738,5.09792 -5.00038,8.26991 -2.3203,17.5009 6.2343,21.47275 4.02412,1.86837 4.87342,1.92925 9.31819,0.66792 z M 427.14539,195.68602 V 66.174086 L 249.21411,65.955477 c -141.78588,-0.174201 -178.06818,0.0018 -178.605196,0.8663 -0.370661,0.596699 -0.679766,58.605103 -0.686902,128.907553 -0.01,98.41528 0.221461,128.06227 1.006042,128.86422 0.788555,0.80601 41.185696,0.99215 178.618176,0.82298 l 177.59916,-0.21859 z M 149.251,314.29269 c -4.59243,-3.69238 -4.75881,-4.76492 -4.75881,-30.67717 0,-19.51775 0.23262,-24.36911 1.26646,-26.41261 2.82791,-5.58963 -4.73182,-5.20736 102.98045,-5.20736 89.17193,0 98.11358,0.12643 99.91017,1.41267 3.96312,2.83734 4.33673,5.48201 4.33673,30.69827 0,19.9591 -0.20896,23.95369 -1.38558,26.48815 -2.72064,5.86025 3.89179,5.50714 -103.1287,5.50714 h -96.97065 z m 35.04556,-11.99476 c 0.48254,-0.92161 0.87735,-3.47803 0.87735,-5.68092 v -4.00528 l 4.14164,2.37967 c 4.037,2.31956 4.1989,2.34133 6.4077,0.86203 3.49252,-2.33906 2.69106,-5.52408 -2.23723,-8.89069 l -3.97718,-2.71689 4.18906,-2.66171 c 3.42648,-2.17718 4.18905,-3.10979 4.18905,-5.12314 0,-4.95851 -3.82018,-5.92542 -9.33974,-2.36393 l -3.3733,2.17663 v -4.34238 c 0,-3.1873 -0.45089,-4.80324 -1.69507,-6.07496 -3.56991,-3.64895 -7.62782,-0.65334 -7.62782,5.63095 0,2.14409 -0.21049,3.89835 -0.46774,3.89835 -0.25726,0 -1.89791,-0.84132 -3.64591,-1.86961 -3.68807,-2.16958 -7.32943,-1.72185 -8.17625,1.00532 -0.90023,2.89916 0.32005,4.96866 4.35493,7.3856 l 3.853,2.30801 -4.10365,2.7385 c -5.07405,3.38608 -5.89833,6.53271 -2.33622,8.91837 2.24078,1.50073 2.38588,1.48336 6.3074,-0.75458 l 4.01387,-2.29063 0.38836,4.7869 c 0.22721,2.80052 0.8843,5.10779 1.58348,5.56021 2.12562,1.37539 5.74416,0.90055 6.67427,-0.87582 z m 44.77971,0.63609 c 0.55937,-0.57176 1.01704,-3.10569 1.01704,-5.63096 0,-2.52526 0.21813,-4.59139 0.48473,-4.59139 0.2666,0 2.16189,1.00464 4.21175,2.23254 3.83791,2.29896 6.1162,2.2737 8.03466,-0.0891 1.78816,-2.20231 0.19169,-5.47199 -3.96207,-8.11461 l -3.90661,-2.48537 3.88652,-2.32809 c 4.06637,-2.43581 5.2903,-4.50125 4.38845,-7.40568 -0.84682,-2.72717 -4.48818,-3.1749 -8.17625,-1.00532 -1.748,1.02829 -3.57934,1.86961 -4.06968,1.86961 -0.516,0 -0.8915,-2.01466 -0.8915,-4.78323 0,-4.24018 -0.23662,-4.89341 -2.08413,-5.75383 -1.66895,-0.77727 -2.51311,-0.68331 -4.23768,0.47169 -1.87347,1.25473 -2.15355,2.06077 -2.15355,6.19786 v 4.75555 l -3.3733,-2.17663 c -3.69442,-2.38381 -5.21904,-2.63721 -7.70038,-1.27983 -1.06265,0.5813 -1.63936,1.8129 -1.63936,3.50098 0,2.18447 0.67518,3.03322 4.18905,5.26592 l 4.18906,2.66171 -3.97718,2.71689 c -4.92829,3.36661 -5.72975,6.55163 -2.23723,8.89069 2.2088,1.4793 2.3707,1.45753 6.4077,-0.86203 l 4.14164,-2.37967 v 4.00528 c 0,2.20289 0.39481,4.75931 0.87735,5.68092 0.99436,1.89912 4.9694,2.28333 6.58097,0.63609 z m 45.76693,0 c 0.55937,-0.57176 1.01704,-3.10569 1.01704,-5.63096 0,-2.52526 0.14266,-4.59139 0.31702,-4.59139 0.17436,0 2.07343,1.00342 4.22016,2.22982 4.17745,2.3865 6.73442,2.25577 8.13325,-0.41583 1.36769,-2.61214 -0.008,-5.23608 -3.99588,-7.62527 l -3.82708,-2.29248 2.02583,-1.54189 c 7.43569,-5.65943 7.9367,-6.56591 5.28461,-9.56132 -1.90636,-2.15315 -4.12509,-1.99147 -8.48142,0.61802 l -3.67649,2.20228 v -4.7393 c 0,-6.73444 -3.17464,-9.4978 -6.92543,-6.02823 -1.13616,1.05097 -1.54993,2.67959 -1.54993,6.10062 v 4.66691 l -3.67649,-2.20228 c -2.02207,-1.21124 -4.42483,-2.20226 -5.33947,-2.20226 -4.09408,0 -5.15527,5.79807 -1.53849,8.40599 6.35351,4.58127 6.20957,4.07201 1.88342,6.66344 -2.13828,1.28086 -4.12182,2.95224 -4.40788,3.7142 -0.8298,2.21031 0.33399,4.63698 2.65673,5.53964 1.71375,0.66598 2.91523,0.39434 5.96698,-1.34909 2.10164,-1.20063 3.96383,-2.18297 4.13818,-2.18297 0.17437,0 0.31702,2.06613 0.31702,4.59139 0,5.12 0.98503,6.67052 4.23768,6.67052 1.21198,0 2.66127,-0.4678 3.22064,-1.03956 z m 45.76693,0 c 0.55938,-0.57176 1.01705,-3.10944 1.01705,-5.63929 v -4.59974 l 4.28593,2.29068 c 3.58005,1.91339 4.62696,2.13185 6.35651,1.32635 1.4771,-0.6879 2.06687,-1.65247 2.05762,-3.3652 -0.0164,-3.04782 -0.53931,-3.77836 -4.43659,-6.19906 -1.74804,-1.08576 -3.17826,-2.13233 -3.17826,-2.32573 0,-0.1934 1.50917,-1.32542 3.3537,-2.5156 4.55121,-2.93666 5.64246,-5.14615 3.89105,-7.87831 -1.7245,-2.6902 -4.04688,-2.6648 -8.65347,0.0946 l -3.67649,2.20228 v -4.66691 c 0,-5.82773 -2.05923,-8.34516 -5.74653,-7.02518 -2.13635,0.76476 -2.32364,1.22436 -2.55884,6.27932 l -0.25378,5.45418 -3.71105,-2.22298 c -4.63725,-2.77778 -6.80959,-2.80713 -8.53513,-0.11531 -1.75141,2.73216 -0.66015,4.94165 3.89105,7.87831 1.84454,1.19018 3.3537,2.31695 3.3537,2.50393 0,0.18699 -1.69095,1.35288 -3.75767,2.59087 -4.10165,2.45695 -5.30176,4.70882 -3.918,7.35165 1.48862,2.8431 3.96686,3.02048 8.22371,0.58861 2.14673,-1.2264 4.0458,-2.22982 4.22016,-2.22982 0.17436,0 0.31702,2.06613 0.31702,4.59139 0,5.12 0.98502,6.67052 4.23768,6.67052 1.21197,0 2.66126,-0.4678 3.22063,-1.03956 z M 151.39408,235.07433 c -5.31529,-4.57154 -5.37694,-12.15125 -0.14052,-17.27913 2.53554,-2.48298 2.56152,-2.60177 2.56152,-11.71008 0,-13.44704 -1.60261,-12.51123 21.96634,-12.8267 l 19.56292,-0.26185 v -7.31828 -7.31828 H 181.9665 168.58867 l -1.44561,2.50139 c -3.78277,6.5455 -15.36706,6.08981 -18.82261,-0.74044 -3.08606,-6.09992 -0.33836,-14.0014 5.68359,-16.34412 4.38834,-1.70719 8.53053,-0.70297 12.08456,2.92976 l 2.92562,2.9904 h 13.16507 13.16505 v -10.82876 -10.82875 h -19.44527 c -23.44404,0 -22.08399,0.75345 -22.08399,-12.23434 v -8.38361 l -2.89953,-2.96373 c -4.02068,-4.1097 -4.74779,-8.47806 -2.2214,-13.34578 4.50965,-8.689 15.48811,-8.24134 19.82833,0.80851 2.15008,4.48314 1.28901,8.77811 -2.49027,12.42134 -2.76344,2.66396 -2.89423,3.06672 -2.89423,8.91233 v 6.12227 l 16.31506,-0.009 16.31507,-0.009 1.40535,-3.42074 c 1.76386,-4.2934 5.84034,-6.94966 10.67203,-6.95401 l 3.60203,-0.003 0.0262,-4.98123 c 0.0809,-15.40178 3.53575,-25.627874 11.36028,-33.625644 18.33813,-18.74387 48.9768,-13.19744 60.13053,10.885534 2.35729,5.08982 2.65029,6.6716 3.04891,16.45971 l 0.44101,10.82876 4.28755,0.44158 c 5.44534,0.56084 8.67776,2.72977 10.43143,6.99942 l 1.3842,3.37013 16.31506,0.009 16.31507,0.009 v -5.96219 c 0,-5.80081 -0.0917,-6.05597 -3.39014,-9.42739 -2.94389,-3.00906 -3.39015,-3.97491 -3.39015,-7.33736 0,-5.26191 2.77057,-9.36815 7.44357,-11.03207 3.1439,-1.11945 4.0049,-1.11945 7.1488,0 5.14305,1.83129 7.71814,5.98272 7.20443,11.61461 -0.32418,3.55404 -0.91051,4.76517 -3.46567,7.15864 l -3.07548,2.88087 v 9.02262 c 0,7.04731 -0.29158,9.32065 -1.33185,10.38394 -1.13331,1.15841 -4.2285,1.36133 -20.76462,1.36133 h -19.43279 v 10.82876 10.82876 h 13.8483 c 13.69933,0 13.85803,-0.0218 14.75256,-2.02858 1.07297,-2.40706 5.821,-4.90183 9.32912,-4.90183 5.87418,0 11.94455,7.51447 10.85701,13.43983 -1.77748,9.68458 -13.64113,12.7607 -19.79304,5.13212 l -2.43962,-3.02522 -13.06529,0.23992 -13.06527,0.23991 -0.24616,7.14698 -0.24616,7.14698 h 18.91525 c 24.09547,0 22.68256,-0.77931 22.68256,12.51084 0,9.49004 0.0693,9.86012 2.1012,11.22095 5.71037,3.82441 6.19503,12.70159 0.96113,17.6043 -2.60829,2.44324 -3.65201,2.84523 -7.38727,2.84523 -3.9228,0 -4.67288,-0.33019 -7.64028,-3.36328 -2.81955,-2.88199 -3.28998,-3.90474 -3.28726,-7.14698 0.003,-4.15851 2.24911,-8.73124 5.0367,-10.25614 1.51692,-0.82981 1.74042,-1.78251 1.74042,-7.41884 v -6.46678 h -16.52695 -16.52695 v 2.4708 c 0,3.35988 -3.21872,8.03495 -6.79718,9.87264 -2.69328,1.38311 -6.72544,1.5148 -46.41946,1.51603 -41.89565,8.7e-4 -43.59111,-0.0619 -46.81494,-1.74292 -3.43935,-1.79347 -6.75793,-6.87571 -6.75793,-10.34943 0,-1.71662 -0.4602,-1.76712 -16.10318,-1.76712 h -16.10318 v 6.55319 c 0,6.18467 0.1398,6.67341 2.48603,8.69136 5.32323,4.57837 5.19574,12.96345 -0.2618,17.21829 -3.95795,3.08571 -10.37731,3.08345 -13.96813,-0.005 z m 103.24795,-41.93027 c 0.48255,-0.9216 0.87735,-4.98489 0.87735,-9.02952 0,-6.97482 0.12784,-7.48453 2.48028,-9.88905 6.60452,-6.75075 2.16954,-17.81176 -7.14172,-17.81176 -9.31127,0 -13.74625,11.06101 -7.14173,17.81176 2.35244,2.40452 2.48028,2.91423 2.48028,9.88905 0,8.98365 0.74962,10.70517 4.66145,10.70517 2.00638,0 3.17849,-0.51902 3.78409,-1.67565 z m 22.74984,-74.4859 c -0.34179,-8.47912 -0.66397,-10.04355 -3.11744,-15.1376 -3.0318,-6.294814 -7.43223,-10.556544 -14.16112,-13.714764 -5.83326,-2.73786 -16.83708,-2.77579 -22.57629,-0.0778 -5.66547,2.6633 -12.10029,9.14535 -14.77854,14.887004 -1.90437,4.08261 -2.3369,6.38647 -2.66346,14.18688 l -0.38987,9.31273 h 29.03395 29.03395 z"
id="path135" />
</g>
</svg>
<h2>No messages found</h2>
<p>Enter the text you want to encrypt or decrypt.</p>
</div>
<div id="txt-show">
<textarea name="txt-output" id="txt-output" cols="30" rows="10" readonly></textarea>
<button class="btn-copy">Copy</button>
</div>
</div>
</main>
<footer>
<div class="social">
<a href="https://github.com/dev-josealarcon?tab=repositories" target="_blank" rel="noreferrer noopener">GitHub</a>
<a href="https://jose-alarcon.com" target="_blank" rel="noreferrer noopener">Site-Portfolio</a>
<a href="https://www.linkedin.com/in/jose-alarcon-71a5b8241/" target="_blank" rel="noreferrer noopener ">LinkedIn</a>
</div>
<p>@2022 TextDecoder from José Alarcón</p>
</footer>
<script src="assets/script.js"></script>
</body>
</html>