Created
January 13, 2015 00:20
-
-
Save thcipriani/d16767a4732d3bd574b1 to your computer and use it in GitHub Desktop.
the matasano crypto challenges
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
def hex_to_base64(thing): | |
return thing.decode('hex').encode('base64') | |
print hex_to_base64('49276d206b696c6c696e6720796f757220627261696e206c696b65206120706f69736f6e6f7573206d757368726f6f6d') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment