python - Recognising Correct Plaintext after Kasiski Examination on Binary File -


i have ran kasiski examination on cipher text file, created through use of modified vigenere cipher. polyalphabetic cipher focuses on swapping sub-bits of each character, key , plain, cipher character.

i quite confident know key length, length far long brute force possibilities. also, decoded file not plaintext ascii sort of binary word processing file (pdf, doc, etc)

i have found python-magic can identify files header (i think?) still require brute forcing @ least few lines, if not whole file, saving it, testing file see if proper type.

any suggestions on how recognize output proper file type? or, better yet, way not have brute force?


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -