summaryrefslogblamecommitdiffstats
path: root/challenge/c02.go
blob: deab152ae0c3d09d574582ca6052ae34e1f387d7 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                   
package challenge

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

func C2() {
	a := "1c0111001f010100061a024b53535009181c"
	b := "686974207468652062756c6c277320657965"
	c := enc.FixedXOR(a, b)

	fmt.Printf("XOR(%v ^ %v) = %v\n", a, b, c)
}