How can I use bigint with C#?

后端 未结 5 1507
日久生厌
日久生厌 2020-12-09 20:44

I work to implement an RSA key algorithm. But I couldn\'t use a 2048-bit value. How I can use it?

I want to use big integer.

5条回答
  •  误落风尘
    2020-12-09 21:17

    You can use System.Numerics.BigInteger (add a reference to System.Numerics assembly). As mentioned in the comments this might not be the right approach though.

提交回复
热议问题