encryption

How to encrypt and decrypt URL when using GET

This is one example on how to encrypt and decrypt the URL in your system. You can't use this if you are using Drupals menu system where a certain segment should be the encrypted part because this encrypted string can contain slashes and make the call and arguments distributed in an uncontrolled way.

Your planned URL:

mysite.se/mymodulepath/EnCrYptedParTOne/EnCrYptedParTTwo

...can end up like:

mysite.se/mymodulepath/EnCrYpt/dParTOne/EnC//YptedParTTwo

But if you send it like a GET value it works like a sharm.