-
Notifications
You must be signed in to change notification settings - Fork 177
bx ec multiply secrets
evoskuil edited this page Oct 17, 2014
·
7 revisions
Calculate the EC function (SECRET * SECRET) % curve-order.
$ bx ec-multiply-secrets --help
Usage: bx ec-multiply-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 EC secrets to multiply. If not
specified the secrets are read from STDIN.
one secret (SECRET^1)
$ bx ec-multiply-secrets 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006
1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006
two same secrets (SECRET^2)
$ bx ec-multiply-secrets 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006
e5b87c7917f8414d2fa5caa32ea61b06fca755fee6a113179db70f5e0d5393ba
three same secrets (SECRET^3)
$ bx ec-multiply-secrets 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006
1da46d54db3e774fe81dfeea880677b805d2ce041c1e2011b6362ee11df132d8
three secrets (SECRET * (SECRET^2))
$ bx ec-multiply-secrets 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006 e5b87c7917f8414d2fa5caa32ea61b06fca755fee6a113179db70f5e0d5393ba
1da46d54db3e774fe81dfeea880677b805d2ce041c1e2011b6362ee11df132d8
two secrets (SECRET * 1)
$ bx ec-multiply-secrets 1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006 0000000000000000000000000000000000000000000000000000000000000001
1bab84e687e36514eeaf5a017c30d32c1f59dd4ea6629da7970ca374513dd006
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