summaryrefslogblamecommitdiffstats
path: root/c1.go
blob: 5248d59a0bfc23b8286ab4de47a3ff6df4138628 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                                                                                 
package main

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

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

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