Today, I am sharing with you, a simple text encryptor that was coded in Python.
Its algorithm is fairly simple. I encourage you guys to try and make your own.
-Simple
Code:
import re
while True:
print "\n" * 80
print "1) Encrypt"
print "2) Decrypt"
choice = input("What would you like to do?: ")
if choice == 1:
a = "znakqlxzamc"
b = "hznalkprasdnlaskf"
c = "qpavmdlpcianasl"
d = "fglaspgnasfalmfnkdcoz"
e = "ujasbofdbbspqowlamzleasn"
f = "anslfklvlcaoalsmndnzoqlaziql"
Word = list(raw_input("Type your word: "))
print "".join(["".join([a,b,c,Char,d,e,f]) for Char in Word])
raw_input("Press Enter To Continue")
if choice == 2:
print re.sub("(znakqlxzamc|hznalkprasdnlaskf|qpavmdlpcianasl|fglaspgnasfalmfnkdcoz|ujasbofdbbs pqowlamzleasn|anslfklvlcaoalsmndnzoqlaziql)", "", raw_input("Paste in the message: "))
raw_input("Press Enter To Continue")
Its algorithm is fairly simple. I encourage you guys to try and make your own.
-Simple