1) Using any programming language of your choice implement the Frequency analysis attack to break a vigenere cipher that is using a key of length 2.
2) Specifications: The program should take one input file which contains the text to decrypt. Assuming that the Vigenere cipher is repeating a key of length 2, write the code to break the cipher and output the two letter key and the plaintext to stdout. The code should be runnable through command line in the following way (assume the program is named as freqvis)
3) freqvig [login to view URL]
key=xy
output_textSubmission
4) Submit your code, the output for the following input (named [login to view URL]) in separate files via Blackboard by the due date. No zipped files allowed.
Input to decrypt:
“bf vjrhmsgseqlal, xkwjmxfvq tftdrkbk tdlg dfhog sl uhmglbfz dxlmwkk bk mzx kmmwq hx mzx xkwjmxfvq hx ewmlxjl gk ykgnhl gy dxlmwkk bf t ubhawklxpm law fwmzhv bk nkxv tk tf taw lh tkwtcbfz ueslkbutd vaizxjl
xkwjmxfvq tftdrkbk bk uslww gg law ysvl mztl, bf tfr ybnxf llkwmua gy okamlxf esgynszw vwkltag dxlmwkk tfw uheuagsmahfl gy dxlmwkk huvmk obla ntjragy yjxinwgubwl ehjxgowk lawkw bk t uasksvlxjbkmav vbkmjbtnlbgg gy dxlmwkk mztl bk kgnyadr law lsfw ygk seehkm sed lsfhewl gy lasm dtfzmtyx xhj bflltfvw zaowg s lwvlbgg gy wgyealz esgynszw x l t sgv h skw mzx ehkm uhefgg, oaaew s i tfw p tjx jtjx dbcxobkx la wk gg sgv tf tjx law fgll vgfehf isbjl gy dxlmwkk mwkexv uazjtel gk vbyksizl sgv lk xw ml tfw xy skw mzx ehkm uhefgg jxhxsmk”
Hi,
I am very happy to bid your project.
I read your requirements carefully,so i see what you mean.
I have been experiments with Coding, Cryptography,Php.
I'd like to work with you.
i'll complete this project for you to the best my ability and without condition
I am looking forward to meeting you