Encrypt and Decrypt JWT with algorithm RS512 in C#
<p>Could you please show me how to encrypt and decrypt data using JWT with RS512 C#.</p>

<p>I have private key of </p>

<pre><code>private_modulus=8978158791.......(number only)
private_exponent=8487473636364..... (number only)
</code></pre>

<p>I have searched in Google but result is not clear and the they need private and public key, which I dont have or i dont know how to generate from above.</p>

<p>It has been done with Java and I try to do in C#.</p>