Cryptoanalysis of Vigenere cipher using Friedman and Kasiski tests written in C++.