We are planning to transmit data between web pages using the url. Sort of the following exmaple:
We are looking for the best encrypting algorithm to make "data_to_be_trasmitted_her
e" obscure to the end user. It doesn't have to be secure, just unreadable. We though of using base64_encode() , but ideally we can also compress, so the end result takes less space than the original input string. Is there any other PHP functions / libraries we can use for this?
Again, the requirements are: find a PHP function or library to create an unreadable string, that don't contain special characters (so we can put it on a url) and it is compact, or even smaller than the input string, and that can be decoded back to its original.