summaryrefslogtreecommitdiff
path: root/assignments/3-solution.md
diff options
context:
space:
mode:
Diffstat (limited to 'assignments/3-solution.md')
-rw-r--r--assignments/3-solution.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/assignments/3-solution.md b/assignments/3-solution.md
index 843ff0a..eb3e5c0 100644
--- a/assignments/3-solution.md
+++ b/assignments/3-solution.md
@@ -87,3 +87,20 @@ Chapter 7:
```
Chapter 8:
+
+> 9. Using a Caesar cipher with s = 5, decode the received message RTAJ TZY FY IF
+
+```plaintext
+| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
+
+Key: s = 5
+
+| F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | A | B | C | D | E |
+
+| Ciphertext | RTAJ TZY FY IFBS |
+| Plaintext | RTAJ TZY FY IF |
+```
+
+```ruby
+!include assignments/3/caesar.rb
+```