使用MFC或c ++创建公钥和主键 [英] Creation of Public key and primary key using MFC or c++
本文介绍了使用MFC或c ++创建公钥和主键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在研究如何使用C ++创建公钥和私钥.
任何对创建公钥和私钥有任何想法的人.
帮助我解决这个问题.
Hi,
I am working on how to create Public key and Private Key using C++.
any one having any idea regarding creation of Public & Private Key.
Help me out on this issue.
推荐答案
这对我们来说并不紧急,而且给工作人员提供时间安排是不礼貌的免费.
起初,我以为您的意思是SQL DB,但我想您的意思是加密/解密. C ++不支持此功能,您需要编写或使用google搜索可使用的代码.
It''s not urgent for us, and it''s rude for you to give a timeline to people doing your job for free.
At first I thought you meant a SQL DB, but I think you mean for encryption/decryption. There''s no support for this in C++, you need to write or google for code that you can use.
^ ]
示例 [证书注册API [ CertCreateSelfSignCertificate [
Microsoft Crypto API[^]
Examples[^]
If you''re going to be creating pkcs10''s then you''ll need to look at their Certificate Enrolment API[^]
If you''re just using self-signeds then use CertCreateSelfSignCertificate[^]
我最喜欢的加密库是 libTomCrypt [ WTFPL [
My favorite crypto library is libTomCrypt[^]. It implements a lot of algorithms, has very nice clear source code that is good even for learning purposes, plus its crossplatform. Its licensing is also very nice: WTFPL[^].
Definitely check out his other math libraries too if you are interested!
这篇关于使用MFC或c ++创建公钥和主键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文