Results 1 to 6 of 6

Thread: OpenSSL and RSA :: digital signature

  1. #1
    Join Date
    Oct 2009
    Location
    Brazil Maceió/Alagoas
    Posts
    24
    Thanks
    7
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Question OpenSSL and RSA :: digital signature

    Hello! everyone,
    I need to digitally sign text files, how to do this, follow my requirements:

    1 - apply the MD5 one-way function only once in the entire file. The result will be a code of 128 bits or 16 ASCII characters, corresponding to a 32 digit hexadecimal number. Should be used in the calculations the hexadecimal number, considering it as a single block;

    2 - create a private key of 1024 bits, equivalent to a 256-digit hexadecimal number, known only from a developer;

    3 - encrypt the hex code generated as provided in Section 1, using the key referred to in item 2, the RSA public key;

    4 - with the outcome of the procedure described in item 3 will retrieve a hexadecimal number with up to 256 digits to be reported in field 02 of the registry type EAD.


    Can someone help me?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: OpenSSL and RSA :: digital signature

    How is this related to Qt?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Oct 2009
    Location
    Brazil Maceió/Alagoas
    Posts
    24
    Thanks
    7
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Default Re: OpenSSL and RSA :: digital signature

    Quote Originally Posted by wysota View Post
    How is this related to Qt?
    In helping QT Creator 1.3.1 cites "QSSL Namespace" most do not find any example or tutorial on how to use. I believe this supports the Namaspace my requirements. Sorry if my question poorly formulated.

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: OpenSSL and RSA :: digital signature

    Qt uses OpenSSL only for https. If you want to use other forms of encryption, you need to use OpenSSL API directly or use one of the wrappers available for it.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Oct 2009
    Location
    Brazil Maceió/Alagoas
    Posts
    24
    Thanks
    7
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    Unix/X11 Windows

    Default Re: OpenSSL and RSA :: digital signature

    Quote Originally Posted by wysota View Post
    Qt uses OpenSSL only for https. If you want to use other forms of encryption, you need to use OpenSSL API directly or use one of the wrappers available for it.
    Do you know any example or Tutorial? I would be very grateful.

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: OpenSSL and RSA :: digital signature

    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. The following user says thank you to wysota for this useful post:

    josecarlosmissias (10th May 2010)

Similar Threads

  1. Digital Signing
    By DiamonDogX in forum Qt Programming
    Replies: 4
    Last Post: 21st May 2009, 23:09
  2. Using QT for Digital TV menu system?
    By mittalpa in forum Newbie
    Replies: 4
    Last Post: 2nd July 2008, 20:23
  3. Static function signature
    By jhearon in forum Qt Programming
    Replies: 1
    Last Post: 30th January 2008, 21:49
  4. Signature from Visual Studio qFindChildren
    By patrik08 in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2006, 18:57

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.