Brief introduction
Bo Master recently in the block chain related work, related to the block chain account of the concept of a wisp, if there is not the right place, please correct me. Build Process
Account generated flowchart is as follows:
1. Generating mnemonic words
Mnemonic words = bank card number + bank card password;
When creating a wallet, the BIP39 algorithm is used to generate 12,15,18,21 or 24 words to facilitate human memory.
2. mnemonics Generate private keys
Private key = Bank card number + bank card password;
After the mnemonic is generated, the private key is generated using the BIP32 and BIP44 algorithms, and the generated private key is a 64-bit random number that is represented as a 16-bit 64-digit string.
3. Back up the private key
keystore+ Password = Bank card number + bank card password;
The private key plus the password through the scrypt algorithm can generate KeyStore for backup, KeyStore is a string of fixed-format JSON strings.
4. Private key generates public key
Public key cryptography, private key decryption, private key signature, public key authentication
The private key can generate a public key through an elliptic curve algorithm.
5. Public key generate account address
Account Address = Bank card number
The public key generates the account address through a one-way hash algorithm, and the account address is a 42-bit string that begins with a 0x.