Vigenere module

class ciphers.Vigenere.Vig[source]

Bases: flask_restful.Resource

decode(cipher, keyword)[source]

Same as Encoding but subtract the key from the cipher text.

encode(plainext, keyword)[source]

Encode the message using the supplied values. The key dictates the row to use and the plaintext dictates the column. :param plainext: The message to be encoded. :param keyword: The private key to be used for the message.

Returns:The encoded message using the provided values.
get()[source]
methods = {'GET'}
print_tabula()[source]

Print out a reference tabula recta.

Returns:A Tabula Recta in String format.