forex.pm forex forum binary options trade - Binance - Сryptocurrency exchanges - encode/decode Base-58 C++
  • Welcome to forex.pm forex forum binary options trade. Please login or sign up.
 

encode/decode Base-58 C++

Started by Bitcoin, Feb 23, 2022, 05:43 am

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bitcoin

encode/decode Base-58 C++

I have built a base-58 encoder using this formula: https://www.youtube.com/watch?v=GedV3S9X89c&feature=youtu.be



Is there a smarter way to encode/decode with base-58?



I read somewhere that you need a bignum library which I use Boost for.



My goal is to convert between these two:



008D4D508F5BF2C28B20A3863405F05D3CD374B045E4B316E7
1Dt8ty59tU9LkrXG2ocWeSzKFAY8fu6jga


Which so easily this website do: http://lenschulwitz.com/base58



I know bitcoin source code have a base-58 encoder/decoder, but I do not know how to implement it successfully.


Source: encode/decode Base-58 C++