Code to generate keys

Code to generate keys

Citation Author(s):
Submitted by:
Xiaohan Hao
Last updated:
Wed, 12/12/2018 - 09:59
Dataset Views:
Share / Embed Cite

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.


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.

Dataset Files

You must be an IEEE Dataport Subscriber to access these files. Login or subscribe now. Sign up to be a Beta Tester and receive a coupon code for a free subscription to IEEE DataPort!

Embed this dataset on another website

Copy and paste the HTML code below to embed your dataset:

Share via email or social media

Click the buttons below:

[1] Wei Ren, Xiaohan Hao, "Code to generate keys", IEEE Dataport, 2018. [Online]. Available: Accessed: Jun. 25, 2019.
doi = {10.21227/yyga-2e09},
url = {},
author = {Wei Ren; Xiaohan Hao },
publisher = {IEEE Dataport},
title = {Code to generate keys},
year = {2018} }
T1 - Code to generate keys
AU - Wei Ren; Xiaohan Hao
PY - 2018
PB - IEEE Dataport
UR - 10.21227/yyga-2e09
ER -
Wei Ren, Xiaohan Hao. (2018). Code to generate keys. IEEE Dataport.
Wei Ren, Xiaohan Hao, 2018. Code to generate keys. Available at:
Wei Ren, Xiaohan Hao. (2018). "Code to generate keys." Web.
1. Wei Ren, Xiaohan Hao. Code to generate keys [Internet]. IEEE Dataport; 2018. Available from :
Wei Ren, Xiaohan Hao. "Code to generate keys." doi: 10.21227/yyga-2e09