Figure out ciphers automatically