Skip to content

bx base58 decode

evoskuil edited this page Oct 24, 2014 · 5 revisions

Convert a Base58 value to Base16.

$ bx base58-decode --help
Usage: bx base58-decode [-h] [--config VALUE] [BASE58]                   

Info: Convert a Base58 value to Base16.                                  

Options (named):

-c [--config]        The path to the configuration settings file.        
-h [--help]          Get a description and instructions for this command.

Arguments (positional):

BASE58               The Base58 value to decode as Base16. If not        
                     specified the value is read from STDIN.

See also base58-encode.

Example 1

$ bx base58-decode vYxp6yFC7qiVtK1RcGQQt3L6EqTc8YhEDLnSMLqDvp8D
031bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006

Example 2

piped commands

$ bx base16-encode "Satoshi Nakamoto" | bx base58-encode | bx base58-decode | bx base16-decode
5361746f736869204e616b616d6f746f
BJBRbygJtzBfp4gjJG2iqL
5361746f736869204e616b616d6f746f
Satoshi Nakamoto

BX Menu

Clone this wiki locally