Results 1 to 5 of 5

Thread: Qt4.8 support for AES Encryption and SHA256 Hash

  1. #1
    Join Date
    Sep 2010
    Location
    Bangalore
    Posts
    169
    Thanks
    59
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Question Qt4.8 support for AES Encryption and SHA256 Hash

    Hi Everyone,

    I was looking for the following OpenSSL methods in Qt4.8.x but I didn't find any:-

    1) AES-256 symmetric algorithm
    2) SHA256 Hash

    Regarding SHA256 Hash, I found that it is present in Qt5.0, but I am using Qt4.8. So, are any patches available for it regarding Qt4.8?

    I would be really grateful if someone would help in this regard.

    -sattu

  2. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt4.8 support for AES Encryption and SHA256 Hash

    Take a look at this Qt based wrapper on OpenSSL.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  3. #3
    Join Date
    Sep 2010
    Location
    Bangalore
    Posts
    169
    Thanks
    59
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt4.8 support for AES Encryption and SHA256 Hash

    Quote Originally Posted by spirit View Post
    Take a look at this Qt based wrapper on OpenSSL.
    Thanks a lot Spirit. The package does have all the support that I require. The only thing is that I am really poor at porting external libraries to my existing Qt Package, I mean I always find it extremely confusing to recompile my Existing SDK with some new libraries. If you can advice me regarding that I would be really grateful.

  4. #4
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt4.8 support for AES Encryption and SHA256 Hash

    Well, all you need it's to modify you pro-file. Add necessary libs into LIBS variable and/or provide include path into INCLUDEPATH for headers files. About these variables you can read in qmake docs.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  5. #5
    Join Date
    Sep 2010
    Location
    Bangalore
    Posts
    169
    Thanks
    59
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Qt4.8 support for AES Encryption and SHA256 Hash

    Ok Spirit,

    Actually they haven't mentioned any steps regarding the generation of lib file. Anyways I will try reading the provided documents again as somewhere they should have mentioned all the steps regarding the generation of the lib file for the QCA namespace. I will get back to you if i face difficulty in using it.

    -thanks
    sattu

Similar Threads

  1. Encryption with Qt
    By safknw in forum Newbie
    Replies: 7
    Last Post: 11th July 2012, 15:06
  2. How to get sha1 hash
    By lyuts in forum Qt Programming
    Replies: 3
    Last Post: 15th February 2012, 15:35
  3. Calculate hash of an Image?
    By harshita in forum Qt Programming
    Replies: 2
    Last Post: 27th October 2011, 23:06
  4. Encryption api in Qt
    By safknw in forum Qt Programming
    Replies: 2
    Last Post: 1st May 2010, 04:25
  5. Hash a file with QT
    By manekineko in forum Qt Programming
    Replies: 5
    Last Post: 21st April 2010, 06:55

Tags for this Thread

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.