View Full Version : Digital Signing
DiamonDogX
20th May 2009, 20:47
Is there any easy way to digitally sign a file using Qt? Trying to avoid third party tools here... appreciate any suggestions, thanks.
wysota
20th May 2009, 21:47
Using what algorithm? You can probably use OpenSSL for that.
DiamonDogX
21st May 2009, 13:29
Maybe MD5, haven't decided. I almost thought of using the QCryptographicHash class, but didn't really come up with a clever way to package the generated hash with my file(s)...
DiamonDogX
21st May 2009, 19:52
I would ideally like to encrypt with a private key and the recipient would decrypt with the sender's public key, as is normally done with digital signatures...
wysota
21st May 2009, 22:09
Qt SSL functionality comes from OpenSSL, so you can use any OpenSSL function in your application.
By the way - MD5 is not a signature, it's a hash. Signature is most often a result of encryption of a hash of a file using the private key in asymetric cryptography.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.