Advertisement
182days

Encrypt (ROT13)

May 10th, 2016
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.25 KB | None | 0 0
  1. import codecs
  2. while 1:
  3.     phrase = input("Could you please give me a phrase to encrypt?\n")
  4.     if phrase == "" : break
  5.     print ("Here it is your phrase, encrypted:")
  6.     print(codecs.encode(phrase, "rot-13"))
  7. print ("Have a nice afternoon!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement