Skip to main content

Posts

Showing posts with the label cryptography

Decoding vigenère

I was reading Simon Singh book "The Code Book" when I stumbled accross Vigenère, I had time so I decided to code something to break Vigenère. Here I'll present the method used to break Vigenère and release the code. The code is incomplete! I didn't code the decoding routine completeoy since I realize that decoding Vigenère is useless nowadays and I did the most interesting part : the kasisky algorithm. The main interest of Vigenère code breaking is about elaborating the needed algorithms. Vigenère code breaking go as follow : - Find the key size using kasisky examination or index of coincidence - Frequency analysis on each subtext : nbSubtext = szKey I chose to use the kasisky examination for searching the key size. I elaborated a recursive algorithm to build my dictionnary of ALL possible words of any size in the crypted text using a binary tree. The algorithm steps are as follow : begin size = 1 begin loop_word_size begin loop_word_add d...

Facebook

Facebook Recommendations

Followers


Web Designing In Karachi



Haroof.com


Politics blogs

My Zimbio

Email Subscribe

Enter your email address:

Watch online Live TV

Labels

Show more