A dictionary attack on a Vigenere cypher