Cipher detective