Code to generate keys

Citation Author(s):
Wei
Ren
CUG(WuHan)
Xiaohan
Hao
CUG(WuHan)
Submitted by:
Xiaohan Hao
Last updated:
Wed, 12/12/2018 - 09:59
DOI:
10.21227/yyga-2e09
License:
110 Views
Categories:
0
0 ratings - Please login to submit your rating.

Abstract 

Key is the core element of constructing Bitcoin trust network. The key usually consists of private key and public key. The private key is used to generate signatures and the public key is used to generate addresses. Bitcoin keys are generated by the elliptic curve algorithm SECP256k1. This data set contains the core code to generate the key.

Instructions: 

There are three steps in the code: core variable definition, key object generation, public key generation and private key generation. You can use Visual Studio 2017 to run code.The annotation part of the code explains the meaning of the code statement in detail and can be used according to the prompts in the code.