odinn1984 / VigCTools

Vigenere Cipher - Encrypt, Decrypt and Crack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VigCTools

Vigenere Cipher - Encrypt, Decrypt and Crack

Usage:

To cipher a text with a key python vig.py -k somekey -p "some text to cipher"
To de-cipher a text with a key python vig.py -k somekey -c "cipher text goes here"

To crack the key we need a sample clear text and it's ciphered version and to guess the key length...

python vig.py -c "some cipher text" -p "the clear text" -l key_len_int

This will output the key in the length requested, if the length is longer than the key then you will see it repeat if not then try a longer key just in case...

TODO: Remove key length and auto calculate the length

About

Vigenere Cipher - Encrypt, Decrypt and Crack

License:GNU General Public License v3.0


Languages

Language:Python 100.0%