10-29-2009, 02:37 AM
Im a noob in python, but maybe a text encrypter, you could set it if there is an a then make it a c. Like this -
text = raw_input()
text = text.replace("a", "1")
text = text.replace("b", "2")
/There may be an easier way to do that but keep going a - z
print "Encrypted text is " text
/Now just reverse that so they can decrypt text.
I dont know if this helped or how well this will work but it is just a suggestion.
text = raw_input()
text = text.replace("a", "1")
text = text.replace("b", "2")
/There may be an easier way to do that but keep going a - z
print "Encrypted text is " text
/Now just reverse that so they can decrypt text.
I dont know if this helped or how well this will work but it is just a suggestion.