Encoding text to hide it from the user

Added By: enamorado

Rated:
(4 of 5) by 4.
Rate Snippet:
Description:  I use the following two functions to hide text i put in the querystring and the cookies i write to the client. use encodeIT() before writing text to the querystring then read the value with decodeIT(). encode your names as well as the values to hide it even more. like so..... response.redirect "/default.asp?ID=" & encodeIT(sUid) and... sUid = decodeIT(request.querystring("ID")) its not a rock solid method, but it works well for stuff thats not important enough for heavier encoding.
Language:  Visual Basic Script

Save to web space
E-mail Link

Code Snippet: