Unsolved Qt Crypto++ and Botan
-
hello I want to send encrypted text and learn how to add botan or crypto ++ library to Qt to decrypt I am using Qt version 5.15.2
-
They are C++ libraries so just use them as any other library.
You are not even stating if you use cmake or qmake to handle your project.
-
sorry i'm newer i work with cmake a little weak in english
-
Do you have either of these libraries installed into your system ?
Do you already have a Qt project ready ?
Which OS are you on ?
Which version of Qt are you using ? -
I am using and Crypto ++ on Windows I downloaded from here 8.0
https://cryptopp.com/
windows 10
I don't have a ready project, I just need to decrypt with md5 -
The first step would be to have a working cmake project and then add crypto++.
-
@SGaist said in Qt Crypto++ and Botan:
The first step would be to have a working cmake project and then add crypto++.
If you know the steps to add crypto ++, you can share
-
Use find_library
This cmake wiki entry is relevant as well.
-
@samaraz said in Qt Crypto++ and Botan:
I just need to decrypt with md5
I’m not a cryptographic expert, very far from it but if I’m not mistaken md5 is only a hashing algorithm (not even a very secure one) so you can’t decrypt it. If you just need hashing QCryptographicHash can produce md5 (or sha) hashes without the need for external libraries.
-
@samaraz md5 should absolutely NOT be used for any sort of cryptography. You can use it as an integrity check instead of CRC but that's it.