From aaeb94873e7b9c9e5b79d44be6f5a727596b6f97 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Tue, 26 Jan 2021 21:28:23 -0500 Subject: challenge: update C15 --- challenge/c15.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'challenge') 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) -- cgit v1.2.3