如何使用BIGINT用C#? [英] How can I use bigint with C#?
本文介绍了如何使用BIGINT用C#?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的工作,以实现一个 RSA 的密钥算法。但我无法用一个2048位的值。我如何使用它?
I work to implement an RSA key algorithm. But I couldn't use a 2048-bit value. How I can use it?
我想用大整数。
推荐答案
您可以使用 System.Numerics.BigInteger
(添加到System.Numerics集的引用)。正如在评论中提到的,这可能不是正确的做法虽然。
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.
这篇关于如何使用BIGINT用C#?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文