title: Secure JSON request from .Net to Javascript
body: <p>I'm sending a JSON result back to a javascript (Jquery) on my IIS/MVC4 website. 
  The json contains a string value of around 60-100 letters.</p>
  
  <p>Currently it is being sent in clear text with no encyption at all.</p>
  
  <p>What would be the simplest method to encrypt just this message between the javascript client and the .net C# backend?</p>
  
  <p>The encryption dosent have to be superb, but just enough that you cant figure/bruteforce out the contents in under 1 hour.</p>
  
  <p>Keep in mind that everyone has the javascript so I cant just use a common key for all clients.</p>
  
  <p>I was thinking something along the line of an RSA encryption where the client generates a keypair and sends its public key back with the request and the server uses this to encrypt the value.. I cant find any examples of this though so I'm very open to suggestions.</p>