Answered step by step
Verified Expert Solution
Link Copied!

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 pleaseimage text in transcribed

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: pfett

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions

Question

How can an event table be used to create a data flow diagram?

Answered: 1 week ago