title: RSA - export public key for different language
body: <p>I'm using C# to generate an RSA public/private key to encrypt user information.  I need to make the public key and exponent available thought for other systems and languages.  They will be signing the data and the C# web service will decrypt it and act upon it.</p>
  
  <p>Right now, I have</p>
  
  <p><code>
      RSA rsa = new RSACryptoServiceProvider(2048); // Generate a new 2048 bit RSA key
      RSAParameters par = rsa.ExportParameters(false);
  </code></p>
  
  <p>But the results for par.Exponent and par.Modulo are byte arrays.  How can I convert the exponent to a string that can be parsed in another language.  The samples in other languages I've seen seem to b</p>