Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
/ vigenere Public archive

Attempts to decrypt text encrypted using a vigenere cipher without being given a key.

License

Notifications You must be signed in to change notification settings

ob6160/vigenere

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Vignere Decryption

This project attempts to decode a given English language vignere encrypted string through frequency analysis. It works best with larger sample texts.

Example

Input: ETGURLXRGAJGMOMTGECGXANUJCCMXBTFKTHRNFZNAHQNVZABBWFKFLXMANUYCGXXUCKFTUIPCDCPVUHCZLIXHJKKFIAIJTZRXGKFQWYAUIEVZRGBXUGDGJLEAFGMGMENPUFXLMAVVPTLXVPTPNIXBIIYEACJCJGVGMGGUDDKQNPPWTTVFEIWEMSTTRNWRANUEMIAMAIDMGXXUCEYIHSYVYYIAIYRVBWBQUKJBXIPBORRXVABTBZJMEGVYCPZIBHKFXKXLPZLTOMTGECGXHREZBTWXUCKFTAEQCDYHLIQGEMJZLZQECNMSOGRZAXXBCSYCWSAJZQRTVRGIYCWGBPTCCMVNVVMCTPVHVMULXHFPGIPEFQEJNMLRPKFPMLRDVEPGVRUVYGVLVPKMPGIJEZNWXV

Output:

key: encrypt

decoded: agedtwentysixvigenerewassenttoromeonadiplomaticmissionitwasherethathebecameacquaintedwiththewritingsofalbertitrithemiusandportaandhisinterestincryptographywasignitedformanyyearscryptographywasnothingmorethanatoolthathelpedhimhisdiplomaticworkbutattheageofthirtyninevigeneredecidedthathehadamassedenoughmoneytobeabletoabandonhiscareerandconcentrateonalifeofstudyitwasonlythenthathebeganresearchintoanewcipher

About

Attempts to decrypt text encrypted using a vigenere cipher without being given a key.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published