Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Characters = {
- a = "โจ๐โค๏ธ",
- A = "๐๐๐ฅ",
- b = "๐ฅ๐โค๏ธ",
- B = "๐๐๐",
- c = "โค๏ธ๐ฅญ๐",
- C = "๐ถ๐ฅญ๓ ๓ ๐ฏ",
- d = "๐๐ฏ๐ฅ",
- D = "๐๐ฅฐ๐งฑ",
- e = "๐ฅบ๐๐ฃ",
- E = "โฐ๐๐คฌ",
- f = "๐๐๐ผ",
- F = "๐๐๐ฒ",
- g = "๐ถ๐พ๐ด",
- G = "๐โช๏ธโณ",
- h = "โ๐๐ต",
- H = "๐๐๐",
- i = "๐โ๐บ",
- I = "๐ฒ๐๐ฝ",
- j = "๐ต๐๐",
- J = "๐๐น๐ด",
- k = "1๏ธโฃ๐๐ฑ",
- K = "๐๐๐ฏ",
- l = "๐ค๐ถ๐ ",
- L = "๐๐ด๐",
- m = "๐๐๐ฆ",
- M = "๐1๏ธโฃ๐ซ",
- n = "๐๐ถ๐",
- N = "๐๐๐",
- o = "๐๐ ๐",
- O = "โ๏ธ๐ฎ๐",
- p = "๐๐ฟ๐ก",
- P = "๐ข๐๐ฎ",
- q = "๐๐๐",
- Q = "๐๐๐",
- r = "๐ฎ๐ผ๐",
- R = "๐๐๐",
- s = "๐๐๐",
- S = "๐๐๐ฉ",
- t = "๐โ๏ธ๐",
- T = "โณ๐๐ซ",
- u = "๐๐จ๐",
- U = "๐๐๐ง",
- v = "๐ซ๐๐ฐ",
- V = "๐ฆ๐ค๐",
- w = "๐๐ค๐ญ",
- W = "๐๐๐ฎ",
- x = "๐ฉ๐ฉ๐",
- X = "๐ ๐ฉ๐",
- y = "๐๐ฆ๐ด",
- Y = "โ๏ธ๐๐ฐ",
- z = "๐๐ก๐",
- Z = "โ๐๐",
- ["1"] = "๐โด๏ธ๐",
- ["2"] = "๐๐๐",
- ["3"] = "โบ๏ธ๐ฃโช",
- ["4"] = "๐ ๐๐",
- ["5"] = "๐๐ก๐ด",
- ["6"] = "๐๐๐",
- ["7"] = "๐ชโ ๏ธ๐",
- ["8"] = "๐7๏ธโฃ๐ฌ",
- ["9"] = "๐บ๐ฎโ๏ธ",
- ["0"] = "๐ธ๐ฃ๐ณ",
- grave = "๐น๐พโน",
- ["/"] = "๐๐1๏ธโฃ",
- backslash = "โ๐ค๐",
- ["["] = "๐โฉ๏ธ๐ต",
- ["]"] = "๐๐น๐ฒ",
- ["("] = "๐๐โ",
- [")"] = "๐ด๐๐ต",
- ["+"] = "๐๐ท๐",
- ["-"] = "โ๏ธ๐ต๐ฎ",
- ["="] = "๐นโ๐ฉ",
- ["{"] = "๐ง๐๐ค",
- ["}"] = "๐๐ฎโ๏ธ",
- [";"] = "๐๐ฐ๐",
- [":"] = "๐ต๐๐",
- [">"] = "๐ฃ๐๐ข",
- ["<"] = "๐ง๐๐ต",
- ["'"] = "๐จ๐๐ป",
- ['"'] = "๐โ๏ธ๐ญ",
- ["|"] = "๐ฑ๐ฟ๐ท",
- ["_"] = "๐๐ต๐",
- ["*"] = "โ๏ธ๐๐ซ",
- ["!"] = "โ ๏ธ๐๐",
- ["@"] = "๐๐๐",
- ["#"] = "๐๐๐",
- ["$"] = "๐ฒ๐๐",
- ["%"] = "๐๐๐ข",
- ["^"] = "๐ฃ๐๐ฐ",
- ["&"] = "๐ ๐๐ ",
- ["."] = "๐๐ใ๏ธ",
- [","] = "โ๏ธ๐โผ๏ธ",
- ["~"] = "๐ญ๐๐",
- [" "] = " ",
- }
- local EmojiSecureV2 = {
- Encode = function(data)
- local Output = ""
- for i,v in next, data:split("") do
- if Characters[v] then
- Output = Output.."โ "..Characters[v]
- elseif v == [[\]] then
- Output = Output.."โ "..Characters["backslash"]
- elseif v == [[`]] then
- Output = Output.."โ "..Characters["grave"]
- end
- end
- return Output
- end,
- Decode = function(data)
- local Output = ""
- for i,v in next, data:split("โ ") do
- for k,x in next, Characters do
- if x == v then
- if k ~= "backslash" and k ~= "grave" then
- Output = Output..k
- else
- if k == "backslash" then
- Output = Output..[[\]]
- elseif k == "grave" then
- Output = Output..[[`]]
- end
- end
- end
- end
- end
- return Output
- end
- }
- return EmojiSecureV2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement