Practical Cryptography: "Vigenere and Gronsfeld Cipher"
Read the page to learn the algorithm for the Vigenere, Gronsfeld and Autokey Cipher. Then go through the JavaScript example and read the cryptanalysis.
Click http://practicalcryptography.com/ciphers/classical-era/vigenere-gronsfeld-and-autokey/ link to open resource.