vigenere encrypt; get the possible key size of vigenere decryption