Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ MFC
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 Smile | :)
Posted 14-Sep-12 5:24am
Comments
Sergey Alexandrovich Kryukov at 18-Sep-12 22:40pm
   
Who told you MFC is an encryption library? :-)
--SA
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Without more specific detail it's impossible to offer much more than suggesting these links[^], and this MSDN section[^].
  Permalink  
Comments
Sergey Alexandrovich Kryukov at 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
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 359
1 _Amy 230
2 Manfred R. Bihy 200
3 CHill60 180
4 OriginalGriff 175
0 OriginalGriff 7,495
1 Sergey Alexandrovich Kryukov 6,402
2 Maciej Los 3,849
3 Peter Leow 3,568
4 CHill60 2,702


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 18 Sep 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100