Files
lab_encryption/answers.md
zoeyande2 4fc2cfe227 Finished checkpoint 2
1. Writing my own code definitely helped me understand the problem better. It was kind of lucky that the most common character in each of the secret texts was in fact " ". It made me understand the work that the cipher is doing better.
2. I watched like 3 different youtube videos about the Kasiski examination process after reading the wiki page. I quickly used "the" to get a difference to the next "the" that mapped the same as 42, so I knew the keyword had to be a multiple of 2,3, or 7. I tried the process with 3 and got nowhere, so I tried it with 6 on a whim. I got the first two letters of the code to be PY, then I couldn't figure out the third so I skipped it, and got the 4th letter to be H, so I made the guess that the keyword was PYTHON and I was right!
2026-03-31 19:29:44 -04:00

39 lines
853 B
Markdown

# Encryption lab answers
## Checkpoint 1
0. `secrets/secret0.txt` is encrypted using a Caesar Cipher. What is
its secret number?
78
1. `secrets/secret1.txt` is encrypted using a Caesar Cipher. What is
its secret number?
1
2. `secrets/secret2.txt` is encrypted using a Caesar Cipher. What is
its secret number?
44
3. `secrets/secret3.txt` is encrypted using a Caesar Cipher. What is
its secret number?
59
4. `secrets/secret4.txt` is encrypted using a Caesar Cipher. What is
its secret number?
32
## Checkpoint 2
5. What is the polyalphabetic secret word?
PYTHON (this literally took me so long but it was also so fun omg)
6. Decrypt this message, which was encrypted using the same secret word:
"EbZhdaV[h^bTpchhQnhig]X[VmhhRP]ftXVnRfjVY]fgtO_X]("
'The treasure is a worthless ball of aluminum foil.' (anticlimatic, lol)