如何在C ++或MFC中使用公钥和私钥 [英] How to use public key and private key in c++ or mfc

查看:127
本文介绍了如何在C ++或MFC中使用公钥和私钥的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我正在C ++/MFC中构建一个应用程序,对于凭据管理器,我需要保护我的用户名和密码,因此建议我使用PublicKey/PrivateKey,因为我不熟悉这些PublicKey/PrivateKey,因此请为我提供指导相同,以便我可以继续进行此操作或建议我是他们在MFC.v中实现相同功能的任何其他更好的方法

在此先感谢:)

Hello,

I am building an application in C++/MFC,for the credential manager i need to protect my user id and password so i was advised to use PublicKey/PrivateKey,as i am not familiar with these PublicKey/PrivateKey ,So kindly guide me for the same so that i can proceed with this or suggest me is their any other better way to implement the same thing in MFC.v

Thanks in Advance :)

推荐答案

没有更具体的细节,除了建议此MSDN部分 [
Without more specific detail it''s impossible to offer much more than suggesting these links[^], and this MSDN section[^].


只需输入案例,除了Richard所引用的有用方法(解决方案1)之外,我还要在公共密钥密码学上添加这些文章.了解单向函数的性质,这些算法加密强度的原因以及密钥交换和使用背后的逻辑也很重要.不幸的是,该领域的许多初学者在不了解事物本质的情况下尝试使用它,这使这项工作完全没有用.

请参阅:
http://en.wikipedia.org/wiki/Public-key_cryptography [ http://en.wikipedia.org/wiki/One-way_function [ http://en.wikipedia.org/wiki/Key_%28cryptography%29 [ ^ ],
http://en.wikipedia.org/wiki/Key_exchange [ http://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange [ ^ ].

—SA
Just in case, in addition to useful referenced by Richard (Solution 1), I want to add the articles on the public-key cryptography. It''s also important to understand the nature of a one-way function, the reasons for cryptographic strength of those algorithm and the logic behind key exchange and use. Unfortunately, many beginners in this field try to use it without understanding of the essence of things, and it makes the effort totally useless.

Please see:
http://en.wikipedia.org/wiki/Public-key_cryptography[^],
http://en.wikipedia.org/wiki/One-way_function[^],
http://en.wikipedia.org/wiki/Key_%28cryptography%29[^],
http://en.wikipedia.org/wiki/Key_exchange[^],
http://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange[^].

—SA


这篇关于如何在C ++或MFC中使用公钥和私钥的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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