Skip to content

Instantly share code, notes, and snippets.

@joakibj
Last active December 16, 2015 02:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joakibj/5364371 to your computer and use it in GitHub Desktop.
Save joakibj/5364371 to your computer and use it in GitHub Desktop.
Ukens nøtt #2 , Cipher 1
import re
def to_ascii(string):
return chr(int(string))
def main():
cipher = '83766567758765826932767378858832738332658769837977693265786832837932738332786984668368'
matches = re.findall('..?', cipher)
chars = map(to_ascii, matches)
print ''.join(chars)
if __name__ == '__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment