Question: Atbash Cipher The Atbash cipher is an encryption method in which each letter of a word is replaced with its mirror letter in the alphabet:

Atbash Cipher The Atbash cipher is an encryption method in which each letter of a word is replaced with its "mirror" letter in the alphabet: A Z; B Y; C X; etc. Create a function that takes a string and applies the Atbash cipher to it. Examples atbash ("apple") "zkkov" atbash ("Hello world!") "Svool dliow!" - "Xsirhgnzh rh gsv atbash ("Christmas is the 25th of December") 25gs lu Wvxvnyvi" Notes Capitalisation should be retained. Non-alphabetic characters should not be altered
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
