项目作者: odinn1984

项目描述 :
Vigenere Cipher - Encrypt, Decrypt and Crack
高级语言: Python
项目地址: git://github.com/odinn1984/VigCTools.git
创建时间: 2017-08-07T23:27:15Z
项目社区:https://github.com/odinn1984/VigCTools

开源协议:GNU General Public License v3.0

下载


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