Reputation: 6997
I would like to encrypt certain strings and use them in a HTTP GET protocol without resulting in an error if there are special characters in URL. Any advice on how can I convert strings to an encryption of that sort and decrypt it again? what encryption library would be most suitable for this scenario?
Upvotes: 2
Views: 1083
Reputation: 55233
Encrypt and decrypt using a standard encryption algorithm (from a library), and encode the encrypted sting using base 64 (from the base64
module).
Your workflow becomes:
A few encryption libraries:
Upvotes: 7