生成KeyPair [英] Generation of KeyPair

查看:161
本文介绍了生成KeyPair的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我需要生成DSA 512位KeyPair(公钥和私钥)。



任何人都可以建议我,如何生成它。



提前谢谢。

解决方案

有两个开源库声称能够生成DSA密钥对,但使用它们不适合新手。



一个是Beecrypt:



http://beecrypt.sourceforge.net/doxygen/c++/index。 html [ ^ ]



另一个是Crypto ++:



http://www.cryptopp.com/ [ ^ ]



网上有很多教程,包括CP:



编译和集成Crypto ++到Microsoft Visual C ++环境 [ ^ ]



如果你使用.net框架那么它就容易多了:



http://msdn.microsoft.com/en-us/library/vstudio/be60ks99(v = VS.100)的.aspx [ ^ ]


https: //developer-content.emc.com/docs/rsashare/share_for_c/1.1/api_guide/group___m_e_s___s_a_m_p_l_e_s___c_r_y_p_t_o___ s_t_d ___ r ___ g_n_r_t.html [ ^ ]

Hi,

I need to generate DSA 512 bit KeyPair(Public and Private Keys).

Can any one suggest me, how to generate it.

Thanks in advance.

解决方案

There are two open source libraries that claim to be able to generate DSA key pairs but using them is not for novices.

One is Beecrypt:

http://beecrypt.sourceforge.net/doxygen/c++/index.html[^]

The other is Crypto++:

http://www.cryptopp.com/[^]

This has many tutorials on the net including here on CP:

Compiling and Integrating Crypto++ into the Microsoft Visual C++ Environment[^]

If you utilize the .net framework then it is much easier:

http://msdn.microsoft.com/en-us/library/vstudio/be60ks99(v=vs.100).aspx[^]


https://developer-content.emc.com/docs/rsashare/share_for_c/1.1/api_guide/group___m_e_s___s_a_m_p_l_e_s___c_r_y_p_t_o___s_t_d___r___g_n_r_t.html[^]


这篇关于生成KeyPair的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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