I have been searching for at some point the best way to encrypt and decrypt a string. Yet, a large portion of it is in 2.7 and anything that is utilizing 3.2 isn't allowing me to print it or add it to a string.
So the thing I'm attempting to do is the accompanying:
mystring = "Hello stackoverflow!"
encoded = encode(mystring,"password")
print(encoded)
jgAKLJK34t3g (a bunch of random letters)
decoded = decode(encoded,"password")
print(decoded)
Hello stackoverflow!
Is there any case of doing this, utilizing python 3.X, and when the string is encoded it's as yet a string, no other variable type?