Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt Crypto++ and Botan

Qt Crypto++ and Botan

Scheduled Pinned Locked Moved Unsolved General and Desktop
12 Posts 4 Posters 1.9k Views
  • 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 Offline
    S Offline
    samaraz
    wrote on 22 Apr 2021, 19:29 last edited by
    #1

    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
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 22 Apr 2021, 19:31 last edited by
      #2

      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
      0
      • S Offline
        S Offline
        samaraz
        wrote on 22 Apr 2021, 19:42 last edited by
        #3

        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
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 22 Apr 2021, 20:02 last edited by
          #4

          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
          1
          • S Offline
            S Offline
            samaraz
            wrote on 22 Apr 2021, 20:28 last edited by
            #5

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

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 22 Apr 2021, 20:57 last edited by
              #6

              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
              1
              • S Offline
                S Offline
                samaraz
                wrote on 22 Apr 2021, 21:27 last edited by
                #7

                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

                V A 2 Replies Last reply 23 Apr 2021, 22:44
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 22 Apr 2021, 21:58 last edited by
                  #8

                  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
                  0
                  • S Offline
                    S Offline
                    samaraz
                    wrote on 22 Apr 2021, 23:14 last edited by
                    #9

                    @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
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 23 Apr 2021, 20:27 last edited by
                      #10

                      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
                      1
                      • S samaraz
                        22 Apr 2021, 21:27

                        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

                        V Offline
                        V Offline
                        VRonin
                        wrote on 23 Apr 2021, 22:44 last edited by VRonin
                        #11

                        @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
                        1
                        • S samaraz
                          22 Apr 2021, 21:27

                          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

                          A Offline
                          A Offline
                          artwaw
                          wrote on 23 Apr 2021, 22:52 last edited by
                          #12

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

                          2/12

                          22 Apr 2021, 19:31

                          topic:navigator.unread, 10
                          • Login

                          • Login or register to search.
                          2 out of 12
                          • First post
                            2/12
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • Users
                          • Groups
                          • Search
                          • Get Qt Extensions
                          • Unsolved