Description: In this unit we learned about a method of encryption/decryption in Python code. This method included having a key, the amount of letters by which you would shift each letter in your message.
Procedure: We started off by learning how to encrypt and decrypt using a single-digit key.
Single-digit encryption code
Single-digit decryption code
Then, we learnt how to take it a step further so that it takes more guesses for a hacker to crack. We used the same foundation of code as the single-digit encryption/decryption and added changes.
10-digit encryption code
10-digit decryption code
The Missing Cow: In this fun, challenging problem, we had to use a set of clues and our Caesar Cipher code to find out where Ms. Tran's missing cow went. This was a partner-work activity, and I was with Max.
After decrypting four messages, we were given a fifth message and an incomplete 10-digit key. Using the first four clues, we had to find out the last few digits of the key.
An example of inputting the encrypted clue into our code.
SOUL Reflection:
S - The strength of my work, in my code and finding the cow, was staying determined even when things got confusing.
O - An opportunity to improve my work in this unit was to find time outside of class to fix any nonfunctional code.
U - In this unit I learnt about how you can combine for loops and if statements to achieve a lot.
L - Limitations I encountered were being stumped on the last few digits of the final key in the missing cow game. Eventually, we ended up having to brute-force it, which was time-consuming.
WISCR:
I think that the two qualities of WISCR I exemplified were clear communicating and respectful individuals of character. I showed clear communicating through being on the same page as my partner and asking Ms. Tran for help when I needed it. I exemplified being a respectful individual of character by helping my classmates, while still having boundaries.