19/08/2026
Learn how ASCII character codes can be used for simple encryption using a Caesar-style shift.
for Access full course
https://tinyurl.com/3euw3ebv
https://www.udemy.com/course/edexcel-international-gcse-9-to-1-computer-science/?referralCode=5D51B68656EB613EFB58
In this lesson, we explore how readable plaintext can be converted into ciphertext by converting characters to ASCII codes, applying a numeric shift, and converting the new codes back into characters.
You will learn:
What plaintext and ciphertext mean
The purpose of encryption and decryption
How an encryption key works
How ord() converts characters into ASCII codes
How chr() converts ASCII codes back into characters
How positive and negative shifts work
Example: D → 68 → +3 → 71 → G
How to encrypt a complete word such as CAT → FDW
Why ASCII ranges 65–90 and 97–122 matter
How Caesar shifts can wrap around the alphabet
How to handle spaces and punctuation
Why Caesar-style encryption is useful for learning but is not secure modern encryption
This lesson is designed for Pearson Edexcel International GCSE (9–1) Computer Science students and beginners learning about character encoding, ASCII, algorithms, and encryption.
Key idea:
Characters → Codes → Shift → Characters