summaryrefslogblamecommitdiffstats
path: root/challenge/c1.go
blob: b7f5a4dc2e7fa95ae53ecd3e994faa24076a6c88 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                    
                 





                                         
           




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

package challenge

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

func C1() {
	hex := "49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d"
	b64 := enc.HexToBase64(hex)

	fmt.Printf("b64(0x%v) = %v\n", hex, b64)
}