RSA和ECC之间的比较 [英] comparison between RSA and ECC

查看:533
本文介绍了RSA和ECC之间的比较的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我想比较ECC和RSA.
我读过有关ECC比RSA更快并且每密钥位大小具有更好安全性的论文.
谁能告诉我如何使用特定的代码显示此信息.

Hi everyone,

I want to compare ECC and RSA.
I have read papers regarding that ECC is faster than RSA and has better security per key bit size.
Can anyone tell me how i can show this using specific code.

推荐答案

几乎无法比较安全性.比较安全性意味着打破密钥实际大小的密码.您是否知道可能需要多少资源? :-)
考虑一下,容易进行实验比较的可能性将给算法带来后门(请参阅下面的参考资料),这被认为是不可能的,并且意味着密码被破解了.那不合逻辑吗? :-)

现在,性能比较绝对容易.您只需要使用用于加密/解密或数字数字签名/验证的算法以及简单的时间密钥生成以及这些过程即可.

请参阅以获取更多信息: http://en.wikipedia.org/wiki/Elliptic_curve_cryptography [ http://en.wikipedia.org/wiki/RSS [ ^ ],另请参阅对这些文章的引用.

基于相关密码学主题的更多理论知识:单向功能: http://en .wikipedia.org/wiki/单向功能 [^ ],后门: http://en.wikipedia.org/wiki/Backdoor_(计算) [^ ], 公钥密码学: http://en.wikipedia.org/wiki/Public-key_cryptography [ ^ ].

请注意,通常不应(通常不感兴趣)CodeProject成员根据您的要求编写任何代码.您问题的性质需要花费一些时间才能提供所需的代码.例如,您可以使用RSA和ECC的C ++实现: http://en.wikipedia.org/wiki/Crypto%2B%2B [^ ].当您拥有已实现的算法时,您对时序比较的研究将很容易.如果遇到任何问题,您可以编写研究代码并提出后续问题.

—SA
It''s nearly impossible to compare security. Comparing security means breaking the cipher of real-life size of the key. Do you have any idea how much resources it may take? :-)
Come to think about, the possibility of easy experimental comparison would present a back door (please see the reference below) to the algorithm which is thought to be impossible and would mean the cipher is broken. Isn''t that logical? :-)

Now, comparison in performance is absolutely easy. You just use both algorithm for ciphering/deciphering or digital digital signature/validation and simple time key generation and those procedures.

See for more information: http://en.wikipedia.org/wiki/Elliptic_curve_cryptography[^], http://en.wikipedia.org/wiki/RSS[^], see also the references to these articles.

More theoretical knowledge on the basis of related cryptography topics: one-way function: http://en.wikipedia.org/wiki/One-way_function[^], back door: http://en.wikipedia.org/wiki/Backdoor_(computing)[^], public-key cryptography: http://en.wikipedia.org/wiki/Public-key_cryptography[^].

Please be advised that normally CodeProject members are not supposed (and usually not interested) to write any code on your request. The nature of your Question requires some hours of work in order to provide the code you need. You can use, for example, C++ implementation of RSA and ECC: http://en.wikipedia.org/wiki/Crypto%2B%2B[^]. When you have the implemented algorithms, your research of the timing comparison will be easy enough. You can write you research code and ask follow-up Questions if you face any problems.

—SA


这篇关于RSA和ECC之间的比较的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆