You will write a symmetric cipher: one key encrypts, and the same key decrypts. Then you play the thief and find a key by trying them all.
Your tasks.
encrypt, shift every capital letter of text by key places, wrapping round after Z. Leave other characters as they are.decrypt, undo encrypt using the same key. Use encrypt.found to the key between and that turns "NCZDD ESP CTGPC" into a message that contains "RIVER".Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…