commit af9473f3e1f4649c88cae9ba4fc775fef84044ec
parent f6eaa54b060a7aad7fc57a33ef8fe4e97b52e556
Author: Jared Tobin <jared@jtobin.ca>
Date: Sun, 11 Jun 2017 18:41:16 +1200
Docs.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/s2.md b/docs/s2.md
@@ -8,6 +8,8 @@
#### 2.10
+Using OpenSSL:
+
$ KEY=$(echo -n 'YELLOW SUBMARINE' | xxd -p)
$ openssl enc -aes-128-cbc \
-a -d -K $KEY -nosalt -iv 0 \
@@ -15,9 +17,7 @@
I'm back and I'm ringin' the bell
A rockin' on the mike while the fly girls yell
-The problem description says NO OPENSSL, but heck them rules AMIRITE?
-
-Ok here's an answer that I had to write code to get:
+Here's an answer that I had to write code to get:
$ cat data/s2/q10_input.txt | tr -d '\n' | \
./bin/aes_cbc --key "YELLOW SUBMARINE" | head -2