Click here to Skip to main content
15,886,776 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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 :)
Posted
Comments
Sergey Alexandrovich Kryukov 18-Sep-12 22:40pm    
Who told you MFC is an encryption library? :-)
--SA

Without more specific detail it's impossible to offer much more than suggesting these links[^], and this MSDN section[^].
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 18-Sep-12 22:50pm    
Good place to start, my 5.
I would also add Wikipedia articles on the principles. From CodeProject questions, I can see that understanding of how it all works is a bigger problem then using any particular libraries or APIs. -- Please see my answer.
--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
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900