Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
LICENSE
Makefile
README
config.mk
hex_decode.c
main.c
xor.c

README

the matasano crypto challenges
Set 1, Challenge 2
http://cryptopals.com/sets/1/challenges/2/

Fixed XOR

The string:

1c0111001f010100061a024b53535009181c

... after hex decoding, and when XOR'd against:

686974207468652062756c6c277320657965

... should produce:

746865206b696420646f6e277420706c6179

I also included a utility function to do the hex decoding.