vigenere (version 1.8, 20 March 2001)
index
../vigenere.py

vigenere.py - vigenere/beaufort/variant beaufort for python.
 
Implements the vignere/beaufort/variant beaufort classical ciphers.
Requires cipher.py by Tesla Coil <tescoil@irtc.net>
and (currently) ecipher.py by me.
 
Since the three ciphers are so similar, you get three for
the price of one :)
 
How to encipher/decipher:
 
Beaufort:
    enciphers/deciphers inversely.
Vigenere:
    deciphers via variant beaufort encipherment with the same
    key.
Variant beaufort:
    deciphers via vigenere encipherment with the same
    key.

 
Modules
            
cipher
ecipher
string

 
Functions
            
encdec(ciph, key, plaintext)
 Symmetrically encipher/decipher with key and plaintext
vbvenc(ciph, key, plaintext)
Assuming uppercase, encipher with key and plaintext

 
Data
             __author__ = 'Sean Dwyer <ewe2@can.org.au>'
__credits__ = 'cipher.py by Tesla Coil <tescoil@irtc.net>.'
__date__ = '20 March 2001'
__file__ = './vigenere.py'
__name__ = 'vigenere'
__version__ = '$Revision: 1.8 $'

 
Author
             Sean Dwyer <ewe2@can.org.au>

 
Credits
             cipher.py by Tesla Coil <tescoil@irtc.net>.