how do I? simple scramble/encrypt string in server (ASP.NET) and unscramble/decrypt in javascript
<p>Platform: Server - ASP.NET 3.5 / C#; client side - javascript/jQuery</p>

<p>This is what I want to do</p>

<ol>
<li>Scramble a string in ASP.NET WebMethod (called through a jQuery Ajax call) before sending to the client</li>
<li>Unscramble it in javascript and display</li>
</ol>

<p>I'm not looking at any sort of heavy duty encryption AES SHA whatever. I'm only interested in simple obfuscation - so if a user wants to persevere and decrypt the strings (which I will display anyway in a sequence, it's just that I don't want them to see all of them in the mark-up) then they can, it doesn't matter.</p>

<p>Are there any simple schemes to do this?</p>

<p>for clarity:</p>

<p>say I want to send a pre-filled array to the client browser with ["a'"b","c"]</p>

<p>when someone opens the source on the browser, he/she should see, say. ["m","n","o"]</p>

<p>but when I display, I would recompute it to "a" and show it. That's all.</p>
