summaryrefslogtreecommitdiffstats
path: root/challenge/c09.go
blob: aaf1664df9380d384bc6a4fffab80c10caa06ddd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright © 2020 rsiddharth <s@ricketyspace.net>
// SPDX-License-Identifier: ISC

package challenge

import (
	"fmt"
	"ricketyspace.net/cryptopals/lib"
)

func C9() {
	in := lib.StrToBytes("YELLOW SUBMARINE")
	in_padded := lib.Pkcs7Padding(in, 24)
	fmt.Printf("IN:  %v\nOUT: %v\n", in, in_padded)
}