Codes decrypted