Results 1 to 16 of 16

Thread: Howto: Qt and RSA crypto

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2009
    Posts
    63
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question Howto: Qt and RSA crypto

    Hi,

    How do I add support for RSA to my Qt project? (MinGW compiler)
    I'm trying to read a public key by calling PEM_read_RSAPublicKey.

    This is what I've done so far, but it's not working for me:

    I have OpenSSL 0.9.8m installed (binary redistributable).
    I have added
    Qt Code:
    1. INCLUDEPATH += "C:/OpenSSL/include";
    2. LIBS += -L"C:/OpenSSL/lib/MinGW"
    3. LIBS += -llibeay32
    To copy to clipboard, switch view to plain text mode 
    to my project file

    I have the libeay32.dll from C:\OpenSSL\bin\ in my debug folder

    When I run the program it always crashes when it calls PEM_read_RSAPublicKey
    Last edited by jonks; 17th March 2010 at 14:16.

Similar Threads

  1. Compiling & using Crypto++ with mingw version of Qt
    By FS Lover in forum Qt Programming
    Replies: 14
    Last Post: 16th January 2018, 11:29
  2. Problem in crypto :: RSA
    By erfanonline in forum Qt Programming
    Replies: 3
    Last Post: 21st March 2009, 21:40
  3. Replies: 5
    Last Post: 19th November 2008, 17:54
  4. Crypto++ and Qt
    By vermarajeev in forum Qt Programming
    Replies: 19
    Last Post: 1st March 2007, 03:41
  5. Crypto++ and Qt3.3.5
    By vermarajeev in forum General Programming
    Replies: 1
    Last Post: 9th February 2007, 07:26

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.