title: Generating 64 Chars key for API
body: <p>I want to generate a API key for new clients that want to use any of my API services.
  because I'm using a open API service i don't want to use authentication only identify the client usage by the API key</p>
  
  <p>I tried to use this code</p>
  
  <pre><code>    public static string GetAPIKey()
      {
          string sig = string.Empty;
          using (RSACryptoServiceProvider rsa = new RSACryptoServiceProvider())
          {
              var ex = rsa.ExportParameters(true);
              sig = Convert.ToBase64String(ex.DQ);
              sig = sig
                  .Replace("+", "")
                  .Replace("/", "")
                  .TrimEnd('=');
          }
          return sig.Substring(0, 64);
      }
  </code></pre>
  
  <p>In my tests i do get a random 64 length string, but something not feeling right with the method usage. proberly because of the <code>RSACryptoServiceProvider</code> usage, especially when i try to generate the <code>DQ</code> property</p>
  
  <p>Do you know any better implementation of generating a random 64 string?</p>