Generating key pairs
Generating authentication key pair
To generate an authentication key pair, perform the following steps:
- Create a Blake2b-256 hash from a user email and password.
- Use symmetric encryption to generate a random seed based on the generated hash and user password. We recommend using AES-256 with GCM or CCM secure mode.
- Generate an authentication key pair from the generated seed.
Generating Iroha 2 key pair
To generate an Iroha 2 key pair, perform the following steps:
- Request a salt value, which is a random piece of bytes only known to the network owners.
- Create a Blake2b-256 hash from a user email and password.
- Generate a blockchain seed from the generated hash and salt.
- Generate an Iroha 2 key pair from the blockchain seed.