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
Forum Updated to NodeBB v4.3 + New Features

Qt Crypto++ and Botan

Scheduled Pinned Locked Moved Unsolved General and Desktop
12 Posts 4 Posters 2.0k Views 2 Watching
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on 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 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
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on 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 last edited by
          #5

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

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on 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 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

              VRoninV artwawA 2 Replies Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on 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 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
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 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

                      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

                      VRoninV Offline
                      VRoninV Offline
                      VRonin
                      wrote on 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

                        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

                        artwawA Offline
                        artwawA Offline
                        artwaw
                        wrote on 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

                        • Login

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