Help on class ConverterBox in module __main__: class ConverterBox | Provides functions and wrapper code to encrypt text. Really nothing more than a convenient namespace. | | Methods defined here: | | __init__(self) | Sets up a dictionary mapping cipher names to functions that encrypt using those ciphers. | | atbash(self, key, text) | Alphabet-reversing cipher first discovered when used to encrypt old Hebrew texts. | | deROTX(self, key, text) | Like ROT47, but rather than a 47-character shift, determines the number to shift by | the length of the message. This function decrypts using ROTX. | | deVig(self, key, text) | The Vigenere autokey cipher. | | doByte(self, plain, shift) | | enROTX(self, key, text) | Like ROT47, but rather than a 47-character shift, determines the number to shift by | the length of the message to be enciphered. This function encrypts using ROTX. | | enVig(self, key, text) | The Vigenere autokey cipher, implemented by splitting the text into a list of charac- | ters and then operating byte-wise on each in turn. | | encrypt(self, cipher, key, text) | Wrapper function that calls the appropriate function when given a cipher name. | | hexlify(self, key, text) | Uses the binascii module to return the 2-digit hexadecimal representation of every character. | | rot13(self, key, text) | The classic 13-character Caesar shift. | | rot47(self, key, text) | Expanded ROT13, using the upper 94 characters of the ASCII set. | | unhexlify(self, key, text) | Uses the binascii module to return the ordinal byte for every 2-digit hexadecimal string passed in.