public-private key pair in C++


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: public-private key pair in C++

  1. #1
    Join Date
    Jul 2009
    Posts
    1

    public-private key pair in C++

    Hi All,

    I am developing a public key encryption in our project in C++.
    Where can i find a source code to generate public-private key pairs in C++?
    I also need a source code for any standard encryption/ decryption algorithm which will use key pairs generated by above code.

    I have searched a lot but i was not able to find code in C/ C++, i found code in VB, C# and java but not in C++.

    Thanks in advance !!!

  2. #2
    Join Date
    Jan 2005
    Location
    UK
    Posts
    604
    There is a GPL project call gpg with all the source code - downloadable from www.gpg.org (or sth like that). I don't think they have the source for windows based systems so you'd need to create the project files and dependencies yourself. Also I'd expect some work to be done on the libraries. Although any C++ compiler should compile it the code is in C-style rather than C++ so if you want classes and stuff you'd need to do that also. But if you got Linux aor Unix then the code should just compile and give you public/private key generation.
    DKyb
    -------------------------------
    Life is a short warm moment -
    Death is the long cold rest.
    Pink Floyd
    -------------------------------

Similar Threads

  1. Replies: 3
    Last Post: 07-31-2008, 09:18 AM
  2. Submitting Infopath to a .net Web Service
    By athomas42 in forum .NET
    Replies: 1
    Last Post: 06-25-2007, 05:54 PM
  3. Input string was not in a correct format
    By mdengler in forum ASP.NET
    Replies: 0
    Last Post: 11-26-2002, 03:32 PM
  4. Producer Consumer Thread
    By Chirag in forum Java
    Replies: 6
    Last Post: 04-10-2002, 06:22 AM
  5. calling ping thru vb
    By Michael Shutt in forum VB Classic
    Replies: 6
    Last Post: 04-05-2001, 03:25 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center