diff options
Diffstat (limited to 'challenge/c09.go')
-rw-r--r-- | challenge/c09.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/challenge/c09.go b/challenge/c09.go index 9067e68..d1a0124 100644 --- a/challenge/c09.go +++ b/challenge/c09.go @@ -10,12 +10,11 @@ import ( func C9() { in := lib.StrToBytes("YELLOW SUBMARINE") - in_padded := lib.Pkcs7Padding(in, 24) + in_padded := lib.Pkcs7Padding(in, 20) fmt.Printf("IN: %v\nOUT: %v\n", in, in_padded) } // Output: // // IN: [89 69 76 76 79 87 32 83 85 66 77 65 82 73 78 69] -// OUT: [89 69 76 76 79 87 32 83 85 66 77 65 82 73 78 69 8 8 8 8 8 8 8 8] - +// OUT: [89 69 76 76 79 87 32 83 85 66 77 65 82 73 78 69 4 4 4 4] |