pycrypt.translators package¶
Submodules¶
pycrypt.translators.asciitranslator module¶
pycrypt.translators.binarytranslator module¶
pycrypt.translators.brailletranslator module¶
-
class
pycrypt.translators.brailletranslator.BrailleTranslator[source]¶ Bases:
pycrypt.translators.translator.TranslatorBraille, translation formats: swza is T (qw as zx)
-
key= {'': ' ', 'qzx': 'U', 'azws': 'T', 'qzs': 'O', 'qzw': 'M', 'qzwx': 'X', 'aw': 'I', 'q': 'A', 'qaw': 'F', 'qas': 'H', 'qaz': 'L', 'qzwsx': 'Y', 'aws': 'J', 'qzws': 'N', 'qaws': 'G', 'qazsx': 'W', 'qws': 'D', 'qs': 'E', 'qzsx': 'Z', 'qw': 'C', 'qz': 'K', 'qazws': 'Q', 'qa': 'B', 'qazs': 'R', 'qazw': 'P', 'qazx': 'V', 'azw': 'S'}¶
-
pycrypt.translators.caesartranslator module¶
pycrypt.translators.morsecodetranslator module¶
-
class
pycrypt.translators.morsecodetranslator.MorseCodeTranslator[source]¶ Bases:
pycrypt.translators.translator.TranslatorMorse Code, translation formats: .-//-... ; ., ,... ; [[0,1],[1,0,0,0]]
-
key= {'': ' ', '--..--': ',', '....-': '4', '.....': '5', '-...': 'B', '-..-': 'X', '.-.': 'R', '.--': 'W', '..---': '2', '.-': 'A', '..': 'I', '...--': '3', '.': 'E', '.-..': 'L', '...': 'S', '-.--.-': '(', '..--..': '?', '.----': '1', '-.-': 'K', '-..': 'D', '-....': '6', '.---': 'J', '.--.': 'P', '.-.-.-': '.', '--': 'M', '-.': 'N', '....': 'H', '.----.': "'", '...-': 'V', '--...': '7', '-.-.-.': ';', '-....-': '-', '..--.-': '_', '..-': 'U', '---': 'O', '--.': 'G', '--.-': 'Q', '--..': 'Z', '-..-.': '/', '-.-.': 'C', '---...': ':', '-.--': 'Y', '-': 'T', '-----': '0', '----.': '9', '-.--.': ')', '---..': '8', '..-.': 'F'}¶
-
pycrypt.translators.numberedalphabettranslator module¶
pycrypt.translators.polishcrosstranslator module¶
-
class
pycrypt.translators.polishcrosstranslator.PolishCrossTranslator(using_ch=True)[source]¶ Bases:
pycrypt.translators.translator.TranslatorPolish cross, Ch optional as argument, input: q1 -> A, c3 -> Z
-
key= {'a': 3, 'c': 8, 'e': 2, 'd': 5, 'q': 0, 's': 4, 'w': 1, 'x': 7, 'z': 6}¶
-
pycrypt.translators.semaphoretranslator module¶
-
class
pycrypt.translators.semaphoretranslator.SemaphoreTranslator[source]¶ Bases:
pycrypt.translators.translator.TranslatorSemaphore, translation format: zx is A (qwe a d zxc)
-
key= {'': ' ', 'ac': 'S', 'ad': 'R', 'xc': 'G', 'ea': 'Q', 'ec': 'X', 'zc': 'N', 'zx': 'A', 'ex': 'E', 'ez': 'L', 'ax': 'B', 'az': 'H', 'ed': 'W', 'wd': 'J', 'wc': 'V', 'wa': 'P', 'dc': 'Z', 'dz': 'M', 'dx': 'F', 'wz': 'K', 'wx': 'D', 'qw': 'T', 'qx': 'C', 'qz': 'I', 'qa': 'O', 'qe': 'U', 'qd': 'Y'}¶
-
pycrypt.translators.substitutiontranslator module¶
-
class
pycrypt.translators.substitutiontranslator.SubstitutionTranslator(key='ZYXWVUTSRQPONMLKJIHGFEDCBA')[source]¶ Bases:
pycrypt.translators.translator.TranslatorBasic substitution, default key reversed alphabet
pycrypt.translators.test_binarytranslator module¶
pycrypt.translators.test_brailletranslator module¶
pycrypt.translators.test_caesartranslator module¶
pycrypt.translators.test_morsecodetranslator module¶
pycrypt.translators.test_polishcrosstranslator module¶
pycrypt.translators.test_semaphoretranslator module¶
pycrypt.translators.test_substitutiontranslator module¶
pycrypt.translators.test_vigeneretranslator module¶
pycrypt.translators.translator module¶
pycrypt.translators.vigeneretranslator module¶
-
class
pycrypt.translators.vigeneretranslator.VigenereTranslator(key='A', ignore_nonletters=True)[source]¶ Bases:
pycrypt.translators.translator.TranslatorAdds perpetually key letters to text (Caesar with longer keys)