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. How to convert a QByteArray to base58?
Forum Updated to NodeBB v4.3 + New Features

How to convert a QByteArray to base58?

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 4 Posters 597 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.
  • I Offline
    I Offline
    Infinity
    wrote on last edited by Infinity
    #1

    Is there a built in function in Qt to convert a QByteArray or a QString to a base 58 string?

    jsulmJ 1 Reply Last reply
    0
    • I Infinity

      Is there a built in function in Qt to convert a QByteArray or a QString to a base 58 string?

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Infinity Google says no, as in you previous thread use some library

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi
        You could use something like this and change it to use QString or simpy convert QString to std::string
        https://gist.github.com/miguelmota/ff591873da4f76393ce48efe62d49fd1

        1 Reply Last reply
        1
        • I Offline
          I Offline
          Infinity
          wrote on last edited by
          #4

          I ended up using this library. Just in case somebody else faces a similar problem.

          https://github.com/d3fault/bitcoin-base58-check-transcoder

          JonBJ 1 Reply Last reply
          4
          • I Infinity

            I ended up using this library. Just in case somebody else faces a similar problem.

            https://github.com/d3fault/bitcoin-base58-check-transcoder

            JonBJ Online
            JonBJ Online
            JonB
            wrote on last edited by
            #5

            @Infinity
            Your link explains a lot --- I had been wondering why anyone would want to use Base58 for anything... !

            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