summaryrefslogblamecommitdiffstats
path: root/challenge/c02.go
blob: eb45a4f958572e454af512efcbcbe23c475dec12 (plain) (tree)
1
2
3
4
5
6
7
8


                                                    



                 
                                         




                                                   
                               


                                                  
// Copyright © 2020 rsiddharth <s@ricketyspace.net>
// SPDX-License-Identifier: ISC

package challenge

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

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

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