Skip to content

Instantly share code, notes, and snippets.

@ashwin
Created May 14, 2012 11:39
Show Gist options
  • Save ashwin/2693510 to your computer and use it in GitHub Desktop.
Save ashwin/2693510 to your computer and use it in GitHub Desktop.
ROT13 in Python 2.x
s = "Hello"
os = s.encode( "rot13" )
print( os ) # "Uryyb"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment