Please develop a program to help you crack the following secret message. For the encryption we have used simple Caesar cipher. You can find more information on

mysterysample.txt file content:
Yvccf kyviv! Kyv bvpj kf kyv yfljv riv yzuuve leuvi kyv wcfnvi gfk

messagesample.txt file content:
Hello there! The keys to the house are hidden under the flower pot.

After you develop your program, read the mystery.txt and output the original message into message.txt

Hint: Use % operator where needed. Don’t encrypt punctuation marks.

mystery.txt file content:
Uzjtzgczev zj kyv sizuxv svknvve xfrcj reu rttfdgczjydvek.
Dfkzmrkzfe zj nyrk xvkj pfl jkrikvu. Yrszk zj nyrk bvvgj pfl xfzex.
Pfl ufe’k nrek kf cffb srtb reu befn pfl tflcu yrmv ufev svkkvi

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

New Download