Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Use python 3.6 please write a program which encrypts a word using a Caesar cipher. Name your program YourUsernameA1Q2., e.g. dazh001A102.py A Caesar cipher is
Use python 3.6 please
write a program which encrypts a word using a Caesar cipher. Name your program "YourUsernameA1Q2., e.g. dazh001A102.py A Caesar cipher is a simple and well known encryption technique, where each letter in the original message is replaced by a letter a certain number of positions down the alphabet. You will be using a Caesar cipher with a shift of 5. In other words the letter "a" would be replaced by the letter "f" while the letter "x" would be replaced by the letter "c" Your program should use the following two variables initialized to the values specified below: alphabet"abcdefghijklmnopgrstuvwxyz" shift-5 The user will enter a 5 letter word to be encrypted by the Caesar cipher. You can assume that the word will always consist of 5 alphabetical characters only. Two example outputs using the completed program follow. Your program must give the output in the same format as the outputs in these two examples. *Caesar Cipher Encryption* Please enter a 5 letter word: Damir Encrypted word: ifrnw *Caesar Cipher Encryption* Please enter a 5 letter word: kazoo Encrypted word: pfettStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started