Olegos

EncryptorRRRRRRRRRRRRRRRRR

Mar 23rd, 2022 (edited)
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.52 KB | None | 0 0
  1. decoder = {"q": ["๐Ÿ…€", "b"], "w": ["๐Ÿ…†", "ส"], "e": ["๐Ÿ„ด", "ว"], "r": ["๐Ÿ…", "ษน"], "t": ["๐Ÿ…ƒ", "ส‡"], "y": ["๐Ÿ…ˆ", "สŽ"], "u": ["๐Ÿ…„", "n"], "i": ["๐Ÿ„ธ", "แด‰"], "o": ["๐Ÿ„พ", "o"], "p": ["๐Ÿ„ฟ", "d"], "a": ["๐Ÿ„ฐ", "ษ"], "s": ["๐Ÿ…‚", "s"], "d": ["๐Ÿ„ณ", "p"], "f": ["๐Ÿ„ต", "ษŸ"], "g": ["๐Ÿ„ถ", "ฦƒ"], "h": ["๐Ÿ„ท", "ษฅ"], "j": ["๐Ÿ„น", "ษพ"], "k": ["๐Ÿ„บ", "สž"], "l": ["๐Ÿ„ป", "หฅ"], "z": ["๐Ÿ…‰", "z"], "x": ["๐Ÿ…‡", "x"], "c": ["๐Ÿ„ฒ", "ษ”"], "v": ["๐Ÿ……", "สŒ"], "b": ["๐Ÿ„ฑ", "q"], "n": ["๐Ÿ„ฝ", "u"], "m": ["๐Ÿ„ผ", "ษฏ"]}
  2. translitor = {"ะน": "j", "ั†": "c", "ัƒ": "u", "ะบ": "k", "ะต": "e", "ะฝ": "n", "ะณ": "g", "ัˆ": "sh", "ั‰": "shch", "ะท": "z", "ั…": "h", "ัŠ": "\"", "ั‘": "yo", "ั„": "f", "ั‹": "y", "ะฒ": "v", "ะฐ": "a", "ะฟ": "p", "ั€": "r", "ะพ": "o", "ะป": "l", "ะด": "d", "ะถ": "zh", "ั": "e", "ั": "ya", "ั‡": "ch", "ั": "s", "ะผ": "m", "ะธ": "i", "ั‚": "t", "ัŒ": "'", "ะฑ": "b", "ัŽ": "yu"}
  3.  
  4. def encrypt(text, method=0):
  5. text = translit(text)
  6. return ''.join([decoder[i][method] if i in decoder.keys() else i for i in text.lower()])
  7.  
  8. def translit(text):
  9. return "".join([translitor[i] if i in translitor.keys() else i for i in text.lower()])
  10.  
  11. print(encrypt('ั ะตะฑะฐะป, ะผะตะฝั sosali', method=0))
  12.  
  13.  
  14. # for i in range(len('qwertyuiopasdfghjklzxcvbnm')):
  15. # print(f"\"{'qwertyuiopasdfghjklzxcvbnm'[i]}\": [\"{'๐Ÿ…€๐Ÿ…†๐Ÿ„ด๐Ÿ…๐Ÿ…ƒ๐Ÿ…ˆ๐Ÿ…„๐Ÿ„ธ๐Ÿ„พ๐Ÿ„ฟ๐Ÿ„ฐ๐Ÿ…‚๐Ÿ„ณ๐Ÿ„ต๐Ÿ„ถ๐Ÿ„ท๐Ÿ„น๐Ÿ„บ๐Ÿ„ป๐Ÿ…‰๐Ÿ…‡๐Ÿ„ฒ๐Ÿ……๐Ÿ„ฑ๐Ÿ„ฝ๐Ÿ„ผ'[i]}\", \"{'bสวษนส‡สŽnแด‰odษspษŸฦƒษฅษพสžหฅzxษ”สŒquษฏ'[i]}\"],")
Add Comment
Please, Sign In to add comment