Well, simply put, you can not execute encrypted source code. For example, say that you use an MD5 hash on your txtWebsiteUrl and the hash is
aAabbCccDef45 (obviously this is just a random string but you get the point)
You could not do:
Response.Redirect txtWebsiteUrl
because the string is simply an MD5 hash!
The easiest way to do this would be to Base64 encode your values and then, before you go to use them, decode their values back to a useable string.
It is a ruidmentary task to encode and decode strings as Base64 but it is a moot point really because, even if you were to use a 2 way cipher (DES for example), if a random programmer got access to your source code, all they would need to do is figure out what cipher you were using, create their own encrypted string using said cipher, and place it in your code and they would have gotten around your encryption.
hth.
================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========