generated from mwc/lab_encryption
Developing this code was not the easiest. I did run into some trouble at first with it returning a different secret number from the example in the notes online but then after changing the code and debugging it I got it to return the secret number to be 34. I was able to understand how Caesar Cipher actually works.
36 lines
797 B
Markdown
36 lines
797 B
Markdown
# Encryption lab answers
|
|
|
|
## Checkpoint 1
|
|
|
|
0. `secrets/secret0.txt` is encrypted using a Caesar Cipher. What is
|
|
its secret number?
|
|
|
|
secret number is 78
|
|
|
|
1. `secrets/secret1.txt` is encrypted using a Caesar Cipher. What is
|
|
its secret number?
|
|
|
|
secret number is 1
|
|
|
|
2. `secrets/secret2.txt` is encrypted using a Caesar Cipher. What is
|
|
its secret number?
|
|
|
|
secret number is 44
|
|
|
|
3. `secrets/secret3.txt` is encrypted using a Caesar Cipher. What is
|
|
its secret number?
|
|
|
|
secret number is 59
|
|
|
|
4. `secrets/secret4.txt` is encrypted using a Caesar Cipher. What is
|
|
its secret number?
|
|
|
|
secret number is 32
|
|
|
|
## Checkpoint 2
|
|
|
|
5. What is the polyalphabetic secret word?
|
|
|
|
6. Decrypt this message, which was encrypted using the same secret word:
|
|
"EbZhdaV[h^bTpchhQnhig]X[VmhhRP]ftXVnRfjVY]fgtO_X]("
|