Skip to content

Instantly share code, notes, and snippets.

@stonecharioteer
Created September 17, 2019 04:06
Show Gist options
  • Save stonecharioteer/9f9d548ea46d9bfe5596265dda94ced0 to your computer and use it in GitHub Desktop.
Save stonecharioteer/9f9d548ea46d9bfe5596265dda94ced0 to your computer and use it in GitHub Desktop.
run this to decode
s = """Jrypbzr gb gur svefg Ivfn OnatClcref zrrghc rirelbar!
Guvf vf gur svefg gvzr jr'ir vaivgrq gur Onatnyber Clguba zrrghc pbzzhavgl gb bhe bssvpr, fb rirelbar gnxr n punapr gb argjbex.
Funer lbhe xabjyrqtr, lbhe gvcf naq lbhe rkcregvfr bs Clguba.
Nobir nyy, unir sha!!
Gb bhe ivfvgbef, Ivfn vf uvevat. Ernpu bhg gb hf naq funer lbhe erfhzrf."""
d = {}
for c in (65, 97):
for i in range(26):
d[chr(i+c)] = chr((i+13) % 26 + c)
print("".join([d.get(c, c) for c in s]))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment