Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Qt Crypto++ and Botan

    General and Desktop
    4
    12
    1133
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      samaraz last edited by

      In encryption, I need to install crypto ++ or botan to decrypt, but I can't setup resources old how can I do thanks

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        You might want to state more clearly what your issue is.
        Also, which version of Qt you are using, on which OS etc...

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • S
          samaraz last edited by

          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

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply Reply Quote 1
            • S
              samaraz last edited by

              sorry i'm newer i work with cmake a little weak in english

              1 Reply Last reply Reply Quote 0
              • SGaist
                SGaist Lifetime Qt Champion last edited by

                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 ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply Reply Quote 1
                • S
                  samaraz last edited by

                  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

                  VRonin artwaw 2 Replies Last reply Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    The first step would be to have a working cmake project and then add crypto++.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply Reply Quote 0
                    • S
                      samaraz last edited by

                      @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

                      1 Reply Last reply Reply Quote 0
                      • SGaist
                        SGaist Lifetime Qt Champion last edited by

                        Use find_library

                        This cmake wiki entry is relevant as well.

                        Interested in AI ? www.idiap.ch
                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                        1 Reply Last reply Reply Quote 1
                        • VRonin
                          VRonin @samaraz last edited by VRonin

                          @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.

                          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                          ~Napoleon Bonaparte

                          On a crusade to banish setIndexWidget() from the holy land of Qt

                          1 Reply Last reply Reply Quote 1
                          • artwaw
                            artwaw @samaraz last edited by

                            @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.

                            For more information please re-read.

                            Kind Regards,
                            Artur

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post