Is there any easy way to digitally sign a file using Qt? Trying to avoid third party tools here... appreciate any suggestions, thanks.
Is there any easy way to digitally sign a file using Qt? Trying to avoid third party tools here... appreciate any suggestions, thanks.
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)...
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...
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.
Bookmarks