Standalone Key Generator for Iroha
Accounts
and Peers.
Download binary or build with cargo build --release
.
ursa_key_utils 0.1
Soramitsu
ursa_key_utils is a command line arguments wrapper around `Ursa`.
USAGE:
ursa_key_utils [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
--secret <secret_key> Sets a secret key. Should be used separately from `seed`.
--seed <seed> Sets a seed for random number generator. Should be used separately from `secret`.
- Generate keys for
Ed25519
using Hyperledger Ursa.
- Standalone key generator for nodes and peers.
- As a library inside
Iroha 2
:- generate
peers
IDs when default hasn't been provided.
- generate
One thing to keep in mind is that when generating keys, they need to be done using a cryptographically secure random number generator.
Ursa
provides an ability to generate pseudo random numbers via BigNumber::rand which internally is OpenSSL BigNumRef::rand.