diff options
Diffstat (limited to 'challenge/c15.go')
-rw-r--r-- | challenge/c15.go | 4 |
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) |