title: RSA Encryption Javascript
body: <p>Can anyone please help me with this - I have been instructed to write an application that takes some data then encrypts it with an RSA public key.</p>
  <p>It apparently needs to be &quot;RSA encryption&quot; (I have never heard or seen this before?)</p>
  <p>Which encryption cipher is RSA meant to use as standard?</p>
  <pre><code>var key = &quot;TUlHZE1BMEdDU3FHU0liM0RRRUJBUVVBQTRHTEFEQ0Jod0tCZ1FDbVFiTWc3SWRpeHVmYWEwcDd2ODVLVytmUnVlZ216UUhibnNoWjhmbXlTQW9MMXRFVzAyNEZKVFlSTFZxN0VsV2p1R0U4aHQ3RmJjN1NURWpxZVViWU5xdnRiVWN6UFZYSE5FdStYRUVndGszazlFNXVQWG0wVzRIc3RtK0FhRXcyMmxxb2lFNGlrT1QzZzdPRXNHSVFCMVNlSlRtVTE1eFBBZ3M3SXRjTVFRSUJFUT09&quot;;
  
  var data = &quot;Xa21dr&quot;;
  </code></pre>