- Mar 16, 2010
Is there a way to encrypt/decrypt a string based on string 'x'? I would do:
Something like that. Any ideas?
theString = rawInput('Enter your message: ') theKey = rawInput('Enter your password: ') theEncryptedString = encrypt(theString, theKey) print "Your encrypted string is %s" % (theEncryptedString)