-
Notifications
You must be signed in to change notification settings - Fork 176
bx base16 encode
evoskuil edited this page Oct 24, 2014
·
4 revisions
Convert binary data to Base16.
$ bx base16-encode --help
Usage: bx base16-encode [-h] [--config VALUE] [DATA]
Info: Convert binary data 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):
DATA The binary data to encode as Base16. This can be
text or any other data. If not specified the data is
read from STDIN.
This command is a simple hexadecimal encoder. This can be used to feed plain text or raw binary values into other commands as base16
input.
Hexadecimal is not case sensitive. In other words the letter F and the f are the same value.
See also base16-decode.
$ bx base16-encode "Satoshi Nakamoto"
5361746f736869204e616b616d6f746f
$ bx base16-encode abc
616263
$ bx base16-encode abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq
6162636462636465636465666465666765666768666768696768696a68696a6b696a6b6c6a6b6c6d6b6c6d6e6c6d6e6f6d6e6f706e6f7071
routed input, hash self
$ bx base16-encode < bx.exe | bx sha256
f9c8f0a86f772a2dd1adf7e43f427ec99e59084b4cd9b41861a2c9d84010575d
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