By contacting us and submitting the requested information, you agree that we can process your information to provide requested products, services or information as covered by our privacy policy at https://www.getfilecloud.com/privacy/
We will treat your information with respect, but if you change your mind and no longer want to share your information please send an email to and we will remove the information in our systems.
Your consent is required by EU GDPR regulations. If you wish not to continue please click ‘Cancel’.
def main(): print("Welcome to the Shift-5 Cipher Machine!") print("This program encodes and decodes messages using a secret shift key of 5.") print("")
# Testing the Encoder
original_text = input("Enter a message to encode: ")
secret_text = encode(original_text)
print("Encoded Message: " + secret_text)
print("")
# Testing the Decoder
print("Now decoding the message back to English...")
translated_back = decode(secret_text)
print("Decoded Message: " + translated_back)
if name == "main": main()
In “Create Your Own Encoding,” you typically:
Assumption: alphabet = uppercase A–Z plus space (27 symbols).
To satisfy the requirement of creating your own encoding (rather than just copying a standard Caesar Cipher), this solution uses a specific rule:
At its core, encoding is the systematic mapping of symbols (letters, numbers, punctuation) to binary patterns (or their integer equivalents). ASCII, for example, maps ‘A’ to 65 (binary 01000001). In CodeHS 8.3, students are typically asked to design a bidirectional encoding function: one that converts a string into a sequence of numbers based on a personalized cipher, and another that decodes those numbers back into readable text. The twist is that the mapping must be original—not a direct copy of ASCII or a simple Caesar cipher. Common student-created encodings include:
The “83” in the query likely refers to a specific module or exercise number, possibly within CodeHS’s “Strings and Characters” or “Data Representation” units. The number 8 might indicate the course level or a subsection, though exact numbering varies by school year.
Get the Tonido iPhone Application from the Apple iPhone App Store.
More Details →
Access, share and download your docs, photos, music and video from iPad
More Details →
Get the Tonido Android Application from the Android Market Place. More Details →
Free DownloadGet the Tonido Windows Phone Application from the Windows Phone Market Place. More Details →
Free Download
Get the Tonido Blackberry Application from BlackBerry App World.
More Details →
Get the Tonido Blackberry Application from BlackBerry App World. More Details →
Download