RSA KEY GENERATION使用128,256和512位 [英] RSA KEY GENERATION using 128 , 256 and 512bits
本文介绍了RSA KEY GENERATION使用128,256和512位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,我正在尝试执行一项任务,该任务涉及使用密钥生成算法在RSA密码系统中生成公钥和私钥。我的问题现在是如何写256,128和512.我想我可以写它但我不知道我将写什么位.....我想知道如何强制生产的密钥到具体位。非常感谢
解决方案
请参阅:
http://msdn.microsoft.com/en-us/library/system.security.cryptography.rsa%28v=vs.110 %29.aspx [ ^ ],
http://msdn.microsoft.com/en-us/library/system.security.cryptography.asymmetricalgorithm.legalkeysizesvalue%28v=vs.110%29 .aspx [ ^ ]。
也就是说,您必须使用其中一个合法值作为密钥大小,那些是sup移植。请检查一下。我从未听说过如你所示的那么小的钥匙尺寸值,不确定它们是否有任何意义。
-SA
hello, am trying to do an assignment that involves generating a public and private key in a RSA cryptosystem using the algorithms for the key generation. my problem now is how to write for 256, 128 and 512. i think i can write it but i just dont know which bit i will be writing on.....i want to know how to enforce the production of the keys to specific bits. thanks a lot
解决方案
Please see:
http://msdn.microsoft.com/en-us/library/system.security.cryptography.rsa%28v=vs.110%29.aspx[^],
http://msdn.microsoft.com/en-us/library/system.security.cryptography.asymmetricalgorithm.legalkeysizesvalue%28v=vs.110%29.aspx[^].
That said, you have to use one of the legal values for the key size, those which are supported. Please check it out. I never heard of such small values of key sizes as you have shown, not sure if they make any sense.
—SA
这篇关于RSA KEY GENERATION使用128,256和512位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文