Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <body>
- </body>
- <script>
- let i = "°MïX¶G«uôĘ¥éo±®~", a = "đ¸IÉÐÏ^ó{ÏcóEês", c = "Ĭ»Ă¾JØ Ğ¥ĭ´Ý¤ï|¹Gáz",
- r = "ğ¦ĈQâ«GĚ£ćGÊQă", d = "æ¼Pċî_ýò¹ĕ^Ö¢";
- function decode(o) {
- for (var e = new String, n = new Array, t = new Array, i = o.length, a = 0; a < i; a++)
- n[a] = o.charCodeAt(a), t[a] = o.charCodeAt(a + 1);
- for (a = 0; a < i; a += 2)
- e += String.fromCharCode(n[a] - t[a]);
- return e
- }
- function encode(o) {
- for (var e = new String, n = new Array, t = new Array, i = o.length, a = 0; a < i; a++)
- n[a] = o.charCodeAt(a), t[a] = o.charCodeAt(a - 1);
- for (a = 0; a < i; a += 2)
- e += String.fromCharCode(n[a] + t[a]);
- return e
- }
- console.log(a);
- let lul = decode(a);
- console.log(lul);
- console.log(encode(lul));
- </script>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement