-
Notifications
You must be signed in to change notification settings - Fork 176
bx ec add secrets
evoskuil edited this page Oct 17, 2014
·
4 revisions
Calculate the EC function (SECRET + SECRET) % curve-order.
$ bx ec-add-secrets --help
Usage: bx ec-add-secrets [-h] [--config VALUE] [SECRET]...
Info: Calculate the EC function (SECRET + SECRET) % curve-order.
Options (named):
-c [--config] The path to the configuration settings file.
-h [--help] Get a description and instructions for this command.
Arguments (positional):
SECRET The set of Base16 secrets to add. If not specified
the secrets are read from STDIN.
one secret (1 * SECRET)
$ bx ec-add-secrets 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006
1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006
two same secrets (2 * SECRET)
$ bx ec-add-secrets 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006
375709cd0fc6ca29dd5eb402f861a6583eb3ba9d4cc53b4f2e1946e8a27ba00c
three same secrets (3 * SECRET)
$ bx ec-add-secrets 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006
53028eb397aa2f3ecc0e0e04749279845e0d97ebf327d8f6c525ea5cf3b97012
two secrets (SECRET + (2 * SECRET))
$ bx ec-add-secrets 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006 375709cd0fc6ca29dd5eb402f861a6583eb3ba9d4cc53b4f2e1946e8a27ba00c
53028eb397aa2f3ecc0e0e04749279845e0d97ebf327d8f6c525ea5cf3b97012
two secrets (SECRET + 1)
$ bx ec-add-secrets 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006 0000000000000000000000000000000000000000000000000000000000000001
1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd007
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