Unveil

Vigenère

Encrypts, decrypts and solves Vigenère, Beaufort, Autokey, Gronsfeld and Porta: periodic keys are recovered by index of coincidence and chi-squared, autokey primers letter by letter, and most variants also take a dictionary attack. An alphabet keyword keys the Vigenère tableau (Quagmire III, as in Kryptos parts 1–2). Bellaso introduced the keyword in 1553; Vigenère's Traicté des chiffres (1586) credits “un certain Belasio” and adds the autokey.