Key derivation method and device applicable to digital currency
A digital currency and key technology, applied in the field of information security, can solve problems such as difficult management, large key backup volume, and digital currency can no longer be consumed
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2017-02-15
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the field of information security, in particular to a key derivation method and device suitable for digital currency. Background technique
[0002] Digital currency is an alternative currency in the form of electronic currency. It adopts the form of P2P and does not rely on the issuance of a specific currency institution, but is generated through a large number of calculations based on a specific algorithm. The digital currency economy uses a distributed database composed of many nodes in the entire P2P network to confirm and record all transaction behaviors, and uses cryptography to ensure the security of all aspects of currency circulation. The design based on key science can make digital currency It can only be transferred or paid by the real owner, ensuring the anonymity of currency ownership and circulation transactions. Due to the anonymity of digital currency transactions, users use different addresses to receive digita...
Examples
Embodiment 1
[0174] This embodiment provides a key derivation method suitable for digital currency. The key derived by the method provided by this embodiment has a tree structure. The root of the tree is the master key and the master chain code, and the master key is the The parent key and the main chain code are the child key and the child chain code generated by the parent chain code are the first-level key and the first-level chain code of the tree, and the first-level key is the parent key and the first-level chain code The child key and child chaincode generated for the parent chaincode are the second-level key and second-level chaincode of the tree, and so on.
[0175] A subkey index is introduced when generating a subkey according to a parent key, and different subkeys are generated according to different subkey indexes, and the subkey index and the subkey are in one-to-one correspondence.
[0176] Described method specifically comprises:
[0177] 1. The derivation process of maste...
Embodiment 2
[0326] This embodiment provides a key derivation device suitable for digital currency. The key derived by the device provided by this embodiment is in a tree structure. The root of the tree is the master key and the master chain code, and the master key is the The parent key and the main chain code are the child key and the child chain code generated by the parent chain code are the first-level key and the first-level chain code of the tree, and the first-level key is the parent key and the first-level chain code The child key and child chaincode generated for the parent chaincode are the second-level key and second-level chaincode of the tree, and so on.
[0327] A subkey index is introduced when generating a subkey according to a parent key, and different subkeys are generated according to different subkey indexes, and the subkey index and the subkey are in one-to-one correspondence.
[0328] The device provided by this embodiment is as Figure 6 shown, including:
[0329]...
Embodiment 3
[0374] This embodiment provides a key derivation device suitable for digital currency, such as Figure 7 shown, including:
[0375] The first acquisition module 91 is used to use the master private key, master public key and master chain code of the digital currency wallet as the parent private key, parent public key and parent chain code respectively, and use the first child key index as the child key index ;
[0376] The first derivation module 92 is used to derive the child private key, child public key and child chain code according to the parent private key, parent public key, parent chain code and child key index obtained by the first acquisition module 91;
[0377] The account key generation module 93 is used to use the sub-private key, sub-public key and sub-chain code derived by the first derivation module 92 as the master private key, master public key and master chain code of the digital currency account respectively.
[0378] In one aspect, the first derivation m...