-
Notifications
You must be signed in to change notification settings - Fork 176
bx base16 decode
Eric Voskuil edited this page Feb 25, 2015
·
2 revisions
Convert a Base16 value to binary data.
$ bx base16-decode --help
Usage: bx base16-decode [-h] [--config VALUE] [BASE16]
Info: Convert a Base16 value to binary data.
Options (named):
-c [--config] The path to the configuration settings file.
-h [--help] Get a description and instructions for this command.
Arguments (positional):
BASE16 The Base16 value to decode as binary data. If not
specified the value is read from STDIN.
This command is a simple hexadecimal decoder.
Hexadecimal is not case sensitive. In other words the letter F and the f are the same value.
The output of this command is not "printable" and can therefore produce unexpected results when piped into another command.
See also base16-encode.
$ bx base16-decode 5361746f736869204e616b616d6f746f
Satoshi Nakamoto
upper case encoding
$ bx base16-decode 5361746F736869204E616b616d6F746F
Satoshi Nakamoto
$ bx base16-decode 616263
abc
$ bx base16-decode 6162636462636465636465666465666765666768666768696768696a68696a6b696a6b6c6a6b6c6d6b6c6d6e6c6d6e6f6d6e6f706e6f7071
abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
pipe commands, round trip
$ bx base16-encode "Satoshi Nakamoto" | bx base16-decode
5361746f736869204e616b616d6f746f
Satoshi Nakamoto
Users | Developers | License | Copyright © 2011-2024 libbitcoin developers
- Home
- Build BX
- General Information
- Developer Information
- Configuration Settings
- Tutorials
- Meta Commands
- Wallet Commands
- Key Encryption Commands
- Stealth Commands
- Messaging Commands
- Transaction Commands
- Online Commands
- Encoding Commands
- Hash Commands
- Math Commands