summaryrefslogtreecommitdiffstats
path: root/challenge
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2020-11-25 21:17:57 -0500
committerrsiddharth <s@ricketyspace.net>2020-11-25 21:17:57 -0500
commit3f7b0f64d7769019add7395787214a6e2b927659 (patch)
tree62fd2324321f62a61ac8205fa1c723fde3300565 /challenge
parentfaecbad685c06aa7c27c5e7a953f0cfdd37edb2d (diff)
challenge: c08: add output
Diffstat (limited to 'challenge')
-rw-r--r--challenge/c08.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/challenge/c08.go b/challenge/c08.go
index c31024b..e965080 100644
--- a/challenge/c08.go
+++ b/challenge/c08.go
@@ -22,6 +22,11 @@ func C8() {
}
}
+// Output:
+//
+// Cipher at line 133 (d880619740a8a19b7840a8a31c810a3d08649af70dc06f4fd5d2d69c744cd283e2dd052f6b641dbf9d11b0348542bb5708649af70dc06f4fd5d2d69c744cd2839475c9dfdbc1d46597949d9c7e82bf5a08649af70dc06f4fd5d2d69c744cd28397a93eab8d6aecd566489154789a6b0308649af70dc06f4fd5d2d69c744cd283d403180c98c8f6db1f2a3f9c4040deb0ab51b29933f2c123c58386b06fba186a) might be AES encrypted in ECB mode.
+// 16-byte block '08649af70dc06f4f' occurs twice in this cipher.
+
func isECB(bs []byte) []byte {
blocks := lib.BreakIntoBlocks(bs, 16)