summaryrefslogtreecommitdiffstats
path: root/challenge/c15.go
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2021-01-26 21:28:23 -0500
committerrsiddharth <s@ricketyspace.net>2021-01-26 21:28:23 -0500
commitaaeb94873e7b9c9e5b79d44be6f5a727596b6f97 (patch)
treea31e669370d4f07196f1b7ee4463508d243cc206 /challenge/c15.go
parent34d90886a0ed3aaf2086633efcde45b227ea27ba (diff)
challenge: update C15
Diffstat (limited to 'challenge/c15.go')
-rw-r--r--challenge/c15.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/challenge/c15.go b/challenge/c15.go
index a48b4b4..40892ec 100644
--- a/challenge/c15.go
+++ b/challenge/c15.go
@@ -23,12 +23,12 @@ func C15() {
}
fmt.Printf("unpadded ice: %v\n", unpadded_ice)
- // Will fail; commented out.
+ // Will fail and panic
// bad_ice := append(ice, []byte{5, 5, 5, 5}...)
// fmt.Printf("bad ice: %v\n", bad_ice)
// lib.Pkcs7PaddingUndo(bad_ice)
- // Will fail; commented out.
+ // Will fail and panic
// evil_ice := append(ice, []byte{1, 2, 3, 4}...)
// fmt.Printf("evil ice: %v\n", evil_ice)
// lib.Pkcs7PaddingUndo(evil_ice)