CN109598489A - A kind of method, apparatus and system of the storage of digital wallet mnemonic word - Google Patents
A kind of method, apparatus and system of the storage of digital wallet mnemonic word Download PDFInfo
- Publication number
- CN109598489A CN109598489A CN201811332255.2A CN201811332255A CN109598489A CN 109598489 A CN109598489 A CN 109598489A CN 201811332255 A CN201811332255 A CN 201811332255A CN 109598489 A CN109598489 A CN 109598489A
- Authority
- CN
- China
- Prior art keywords
- mnemonic word
- value data
- ether mill
- characteristic value
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/04—Payment circuits
- G06Q20/06—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
- G06Q20/065—Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/10—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
- G06Q20/105—Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems involving programming of a portable memory device, e.g. IC cards, "electronic purses"
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
Abstract
This application discloses the method, apparatus and system of a kind of storage of digital wallet mnemonic word.Characteristic value data in the technical solution of the application acquisition characteristics image first, md5 encryption is carried out to characteristic value data, obtain the private key for being supplied to user, private key is recycled to carry out des encryption to the mnemonic word in HD wallet, mnemonic word character string is obtained, is then stored into the block chain of ether mill after mnemonic word character string is converted to 16 binary datas.As it can be seen that the overall plan of the application is to encrypt using characteristics of human body to the mnemonic word in HD wallet, then encrypted mnemonic word is stored in block chain, the safety that the safety of mnemonic word itself also ensures that mnemonic word saves ensure that;In addition, the application has also carried out md5 encryption to characteristics of human body, since MD5 is irreversible Encryption Algorithm, it ensure that characteristics of human body's information will not be decrypted inversely, and then also ensure the safety of characteristics of human body's information.
Description
Technical field
A kind of stored this application involves field of computer technology more particularly to digital wallet mnemonic word method, apparatus and
System.
Background technique
Bit coin (bitcoin) is a kind of digital cash of P2P form.The distribution of bit coin does not need specific mechanism,
But it is generated by largely calculating.In addition, the digital cash similar with bit coin further includes ether mill and ERC20 token etc..
In general, the digital cash such as bit coin, ether mill, ERC20 token can be stored in exchange by user, exchange
User is helped to provide keeping, while user can also be stored in these digital cash in digital wallet.Digital wallet generally all can
The several ways such as key, mnemonic word, keystore file are provided and help user ID wallet.For example, the HD wallet of BIP-44 standard
User can be helped to manage private key all in wallet by a set of mnemonic word, it is possible to understand that who has mnemonic word, and who just has money
All assets in packet.
Many users can be stored in the mnemonic word that HD wallet generates in physical hardware devices, such as mnemonic word is placed on one
If then placing into the hard disk of computer perhaps mobile hard disk but the hard disk of computer or mobile hard disk in a Word file
Due to that factor can not be resisted to damage, then the assets that can be understood as user are also lost.Equally also it has been proposed that can be helping
Remember word storage on the internet, such as in Dropbox, if but Dropbox suddenly encounter and the extraneous factors such as shut down or be deleted,
There is also very big security risks for mnemonic word.Therefore, how to guarantee that the safety of HD wallet mnemonic word becomes those skilled in the art urgently
It solves the problems, such as.
Summary of the invention
This application provides the method, apparatus and system of a kind of storage of digital wallet mnemonic word, to solve current HD wallet
The big problem of the preservation security risk of mnemonic word.
On the one hand, this application provides a kind of methods of digital wallet mnemonic word storage, comprising:
The characteristic value data in optimization image is obtained, the characteristic value data is the data of 196 bytes, and, the spy
Value indicative data are fingerprint characteristic Value Data, pupil feature Value Data or facial characteristics Value Data;
The characteristic value data is encrypted using MD5, obtains the private key of user, the private key is 32 lowercase characters
String data;
Des encryption is carried out to the mnemonic word in HD wallet using the private key, obtains encrypted mnemonic word character string, institute
It is the string data of 12 English words composition that mnemonic word, which is stated, for backing up the HD wallet, the mnemonic word;
The mnemonic word character string is converted into 16 binary datas;
16 binary data is stored onto ether mill block chain using ether mill intelligence contract.
With reference to first aspect, before the characteristic value data obtained in optimization image, further includes:
The mnemonic word in the original image and HD wallet of characteristics of human body is obtained, the characteristics of human body includes fingerprint characteristic, pupil
Hole characteristic or facial characteristics;
Optimize the original image, obtains the optimization image.
With reference to first aspect, described to be stored 16 binary data to ether mill block chain using ether mill intelligence contract
After upper, further includes: read the mnemonic word using the transaction address of ether mill test environment.
With reference to first aspect, the step of transaction address using ether mill test environment reads the mnemonic word is wrapped
It includes:
16 binary datas stored on the block chain of ether mill are obtained using the transaction address of ether mill test environment;
16 binary data is converted into mnemonic word character string;
DES decryption is carried out to the mnemonic word character string using the private key, obtains the mnemonic word.
Optionally, it is described using ether mill intelligence contract will 16 binary data storage on the block chain of ether mill it
Afterwards, further includes: 16 system number being stored in the block chain of ether mill is checked by the transaction address that environment is tested in ether mill
According to.
Second aspect, this application provides a kind of devices of digital wallet mnemonic word storage, comprising:
Characteristic value acquiring unit, for obtaining the characteristic value data in optimization image, the characteristic value data is 196 bytes
Data, and, the characteristic value data be fingerprint characteristic Value Data, pupil feature Value Data or facial characteristics Value Data;
Private key acquiring unit obtains the private key of user for encrypting using MD5 to the characteristic value data, described
Private key is 32 lowercase character string datas;
Mnemonic word encryption unit is encrypted for carrying out des encryption to the mnemonic word in HD wallet using the private key
Mnemonic word character string afterwards, the mnemonic word are 12 English word compositions for backing up the HD wallet, the mnemonic word
String data;
System converting unit, for the mnemonic word character string to be converted to 16 binary datas;
Transmission unit, for being stored 16 binary data to ether mill block chain using ether mill intelligence contract.
In conjunction with second aspect, described device further include:
Image and mnemonic word acquiring unit, the mnemonic word in original image and HD wallet for obtaining characteristics of human body, institute
Stating characteristics of human body includes fingerprint characteristic, pupil feature or facial characteristics;
Optimize unit and obtains the optimization image for optimizing the original image.
In conjunction with second aspect, described device further include:
Mnemonic word reading unit, for reading the mnemonic word using the transaction address of ether mill test environment.
In conjunction with second aspect, the mnemonic word reading unit is also used to:
16 binary datas stored on the block chain of ether mill are obtained using the transaction address of ether mill test environment;
16 binary data is converted into mnemonic word character string;
DES decryption is carried out to the mnemonic word character string using the private key, obtains the mnemonic word.
Optionally, described device further include:
Data check unit, and the transaction address for testing environment by ether mill, which is checked, to be stored in the block chain of ether mill
16 binary data.
The third aspect, the application also provide a kind of system of digital wallet mnemonic word storage, including processor and memory;
The memory, for storing the executable program of the processor;
The processor, for obtaining the characteristic value data in optimization image, the characteristic value data is the number of 196 bytes
According to, and, the characteristic value data is fingerprint characteristic Value Data, pupil feature Value Data or facial characteristics Value Data;Utilize MD5
The characteristic value data is encrypted, the private key of user is obtained, the private key is 32 lowercase character string datas;Using described
Private key carries out des encryption to the mnemonic word in HD wallet, obtains encrypted mnemonic word character string, the mnemonic word is for backing up
The HD wallet, the mnemonic word are the string data of 12 English words composition;The mnemonic word character string is converted to
16 binary datas;16 binary data is stored onto ether mill block chain using ether mill intelligence contract.
From the above technical scheme, this application provides a kind of digital wallet mnemonic word storage method, apparatus and be
System.Characteristic value data in the technical solution of the application acquisition characteristics image first carries out md5 encryption to characteristic value data, obtains
It must be supplied to the private key of user, recycle private key to carry out des encryption to the mnemonic word in HD wallet, obtain mnemonic word character string,
It is then stored into the block chain of ether mill after mnemonic word character string is converted to 16 binary datas.As it can be seen that the entirety side of the application
Case is to be encrypted using characteristics of human body to the mnemonic word in HD wallet, then encrypted mnemonic word is stored in block chain,
It ensure that the safety that the safety of mnemonic word itself also ensures that mnemonic word saves;In addition, the application also to characteristics of human body into
Md5 encryption of having gone since MD5 is irreversible Encryption Algorithm ensure that characteristics of human body's information will not be decrypted inversely,
And then also ensure the safety of characteristics of human body's information.
Detailed description of the invention
In order to illustrate more clearly of the technical solution of the application, attached drawing needed in case study on implementation will be made below
Simply introduce, it should be apparent that, for those of ordinary skills, in the premise of not making the creative labor property
Under, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of the method first embodiment of digital wallet mnemonic word storage provided by the present application;
Fig. 2 is a kind of flow chart of the method second embodiment of digital wallet mnemonic word storage provided by the present application;
Fig. 3 is a kind of flow chart of the method 3rd embodiment of digital wallet mnemonic word storage provided by the present application;
Fig. 4 is a kind of structural block diagram of the device of digital wallet mnemonic word storage provided by the embodiments of the present application;
Fig. 5 is a kind of schematic diagram of the system of digital wallet mnemonic word storage provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with attached drawing, it is right
Technical solution in the embodiment of the present application is clearly and completely described.
Referring to Fig. 1, this application provides the first embodiments of the method for digital wallet mnemonic word storage, comprising:
Step 101, the characteristic value data in optimization image is obtained, the characteristic value data is the data of 196 bytes, with
And the characteristic value data is fingerprint characteristic Value Data, pupil feature Value Data or facial characteristics Value Data;It can be in the application
Fingerprint characteristic Value Data is obtained using finger-print recognising instrument, pupil feature Value Data is obtained using using iris scan technology, uses
Facial scan technology obtains facial characteristics Value Data, is generally the data of 256 bytes before all characteristic value datas are not collected,
But the characteristic value data of compressed 196 byte can be directly acquired after passing through the scanning of various technologies.Above-mentioned characteristics of human body is
For distinguish person to person key means and characteristics of human body with uniqueness, that is to say, everyone has unique finger
Line feature, pupil feature and facial characteristics can be added in the embodiment of the present application using any one of these three features
It is close, it can guarantee the uniqueness of encryption information.
In addition, be also that by for the iris scan technology for obtaining pupil feature Value Data, Android hand at present
Machine such as Samsung Galax8 and Galax9 series provide corresponding framework interface.
Step 102, the characteristic value data is encrypted using MD5, obtains the private key of user, the private key is 32
Lowercase character string data;MD5 is a kind of irreversible algorithm, and burst of data is calculated by calculation method as defined in MD5, can
With obtain one as a result, and this result has an irreversible characteristic, that is to say, that can not with this result it is anti-obtain
Data originally, so being usually used in data encryption.Exactly because the also irreversibility of md5 encryption, so that characteristics of human body's information is not
It can be reversed acquisition, the safety for the characteristics of human body's information being further ensured that.
Step 103, des encryption is carried out to the mnemonic word in HD wallet using the private key, obtains encrypted mnemonic word
Character string, the mnemonic word are the string data of 12 English words composition for backing up the HD wallet, the mnemonic word.
DES is a kind of more traditional symmetric encipherment algorithm, and cryptographic calculation, decryption operation use same key, information
Sender and the recipient of information are when carrying out the transmission and processing of information, it is necessary to it is (referred to as symmetrical close to hold the password jointly
Code).The string data that the mnemonic word of HD wallet is made of 12 English words under normal conditions, but there is also exception feelings
The technical solution of condition, the application focuses on the mnemonic word being made of 12 English words studied.Des encryption is carried out to mnemonic word
Afterwards, it is reacquired when private key is saved or needed by user oneself, the safety that can guarantee mnemonic word is encrypted to mnemonic word
Property.
Step 104, the mnemonic word character string is converted into 16 binary datas.Because when the transmission data of ether mill only
The data of 16 systems can be transmitted, and the encrypted mnemonic word character string of mnemonic word is not the data of 16 systems, so transmitting
Before storage, mnemonic word character string is converted to the data of 16 systems, also to meet the requirement of transmission.
Step 105,16 binary data is stored onto ether mill block chain using ether mill intelligence contract.Intelligence is closed
About Yi Dan establish it is specified after, can be carried out automatically without the participation of intermediary, and nobody can check its operating.Block chain
Credible implementation environment is supplied for intelligent contract, intelligent contract is that the extension of block chain is used.And the intelligent contract on ether mill, energy
It enough controls various digital assets on block chain and carries out in disorder operation.
Specifically, being carried out further by taking fingerprint characteristic as an example to the scheme of the application in the application first embodiment
It is bright:
Firstly, identify that user or so thumb optimizes the fingerprint characteristic Value Data in image by finger-print recognising instrument, it should
Characteristic value data is the character string of 196 bytes:
iCq94rpu4aUGnTQqhsMwQpxihPe41qRBTXmWIL2Py32lGB3mekesExrpH0BiqaJo4QiO
Y96Ezk589n9El9en5Q09nTDtEC3W3OAb0rittacLmmaRqJcC6al9HOjj7O2AvNhJrTVplu4FzZ37
68iFo5ryjrreApQCGdDp7kgGWf05bcR6bm5f7w1eTuwknfwmGTkd;
Then, md5 encryption is carried out to features described above Value Data, obtains encrypted private key are as follows:
018e99eca36057a35506de50cafb9ad9;
Mnemonic word in HD wallet are as follows: siege violin trap power embark term cloud lottery
Priority swift help own is altogether 12 English words, reuses above-mentioned private key and carries out des encryption to mnemonic word,
Obtain encrypted mnemonic word character string are as follows:
dSTzm8fljnSN3PTd2PC8E8qpKgXQ9XwbgobMs4uJwMBeZopozMb2V0WE+
ZXd5o1asAX2iB+ruIhexcJRMtpNV2Lz9ISDWLho2Lhs3QXf8zU=;
Above-mentioned mnemonic word character string is converted into 16 binary datas again, the data after conversion are as follows:
6453547a6d38666c6a6e534e3350546432504338453871704b67585139587762676f
624d7334754a774d42655a6f706f7a4d6232563057452b5a5864356f31617341583269422b72
7549686578634a524d74704e56324c7a39495344574c686f324c687333515866387a553d;
Finally by 16 binary data by finally storing in the transmission storage to ether mill block chain of ether mill intelligence contract
Form are as follows:
0x6453547a6d38666c6a6e534e3350546432504338453871704b6758513958776267
6f624d7334754a774d42655a6f706f7a4d6232563057452b5a5864356f31617341583269422b
727549686578634a524d74704e56324c7a39495344574c686f324c687333515866387a553d。
By the above content it is found that the application first embodiment provides a kind of method of digital wallet mnemonic word storage, benefit
It is encrypted with characteristics of human body and generates private key for user, recycle private key to encrypt the mnemonic word in HD wallet, then will be encrypted
Mnemonic word is stored in block chain, ensure that the safety that the safety of mnemonic word itself also ensures that mnemonic word saves;In addition,
The application has also carried out md5 encryption to characteristics of human body, since MD5 is irreversible Encryption Algorithm, ensure that characteristics of human body
Information will not be decrypted inversely, and then also ensure the safety of characteristics of human body's information.
Referring to fig. 2, this application provides the second embodiment of the method for digital wallet mnemonic word storage, the second embodiments
Difference with above-mentioned first embodiment is, on the basis of first embodiment, is obtaining the characteristic value data in optimization image
Before, further includes:
Step 201, the mnemonic word in the original image and HD wallet of characteristics of human body is obtained, the characteristics of human body includes fingerprint
Feature, pupil feature or facial characteristics;Facial characteristics, pupil feature and facial characteristics all can serve as unique mark of identification user
Know, the features described above between user and user is all different.Mnemonic word is another form of expression of plaintext private key, mesh
The user that is to help remember complicated private key.Mnemonic word is usually made of 12 English words, these words are all derived from one
A fixed dictionary, genesis sequence are also according to certain algorithm, so user need not worry at will to input 12 English
Word will generate an address.Although mnemonic word and Keystore all can serve as another form of expression of private key, with
Unlike Keystore, mnemonic word is not encrypted private key, anyone has obtained your mnemonic word, can not take soot blowing it
The control of assets for seizing you of power.So the technical solution of the application will be encrypted and be saved to mnemonic word, to guarantee to help
Remember the safety of word.
Step 202, optimize the original image, obtain the optimization image.In general, collected characteristics of human body's is original
The size of optimization image of the image size after 14k or so, optimization is 9800b.Original image is optimized and is conducive to extract
Characteristic value data in image.
By the above content it is found that the application second embodiment provide digital wallet mnemonic word storage method, first
Further comprised on the basis of embodiment obtain original image and optimization image the step of, enable feature to be extracted image more
Meet extraction standard, so that the characteristic value data extracted is more accurate.
The embodiment of the present application also provides the 3rd embodiment of the method for digital wallet mnemonic word storage, the 3rd embodiments
On the basis of first embodiment, further includes: read the mnemonic word using the transaction address of ether mill test environment.
Specifically, the 3rd embodiment also specifically includes referring to Fig. 3:
Step 301,16 system numbers stored on the block chain of ether mill are obtained using the transaction address of ether mill test environment
According to.The transaction address that environment is tested in ether mill is a changeless address:
https://ropsten.etherscan.io/tx/0x8b6459e484165f8ecc6d2fe7a72796f86d
fe71e3408fa35315d39204e5fa412f。
Still by taking above-mentioned fingerprint characteristic data as an example, the available storage form under the transaction address of ether mill test environment
For 0x6453547a6d38666c6a6e534e3350546432504338453871704b6758 5139587762676f624d
7334754a774d42655a6f706f7a4d6232563057452b5a5864356f31617341583269422b727549
16 systems of 686578634a524d74704e56324c7a39495344574c686f324c68733351 5866387a553d
Data.
Step 302,16 binary data is converted into mnemonic word character string;First have to delete front in 16 binary datas
0x mark, then converted.Obtained mnemonic word character string are as follows:
dSTzm8fljnSN3PTd2PC8E8qpKgXQ9XwbgobMs4uJwMBeZopozMb2V0WE+
ZXd5o1asAX2iB+ruIhexcJRMtpNV2Lz9ISDWLho2Lhs3QXf8zU=.
Step 303, DES decryption is carried out to the mnemonic word character string using the private key, obtains the mnemonic word.Due to
Des encryption algorithm is symmetrical algorithm, so the process of encryption and decryption uses same key, i.e. private in the application
Key recycles private key that the mnemonic word character string of encryption is reduced into mnemonic word when decryption:
siege violin trap power embark term cloud lottery priority swift help
own。
Further, on the basis of the various embodiments described above, using ether mill intelligence contract by 16 binary data
After storing on the block chain of ether mill, further includes: checked by the transaction address that environment is tested in ether mill and be stored in ether mill
16 binary data in block chain.
Technical solution in the application 3rd embodiment may be implemented to read pre-stored 16 from the block chain of ether mill
Binary data completes the decryption of 16 binary datas and mnemonic word character string, finally obtains the mnemonic word of user's storage, there is mnemonic(al)
Word, user can be conducted into the assets that oneself is operated in any a HD wallet.
From the above technical scheme, this application provides a kind of method of digital wallet mnemonic word storage, this method is
The mnemonic word in HD wallet is encrypted using characteristics of human body, then encrypted mnemonic word is stored in block chain, is guaranteed
The safety of mnemonic word itself also ensures the safety that mnemonic word saves;In addition, the application also carries out characteristics of human body
Md5 encryption ensure that characteristics of human body's information will not be decrypted inversely, in turn since MD5 is irreversible Encryption Algorithm
Also ensure the safety of characteristics of human body's information.
Referring to fig. 4, the embodiment of the present application also provides a kind of devices of digital wallet mnemonic word storage, comprising:
Characteristic value acquiring unit 41, for obtaining the characteristic value data in optimization image, the characteristic value data is 196 words
The data of section, and, the characteristic value data is fingerprint characteristic Value Data, pupil feature Value Data or facial characteristics Value Data;
Private key acquiring unit 42 obtains the private key of user, institute for encrypting using MD5 to the characteristic value data
It is lowercase character string data that state private key, which be 32,;
Mnemonic word encryption unit 43 is added for carrying out des encryption to the mnemonic word in HD wallet using the private key
Mnemonic word character string after close, the mnemonic word are 12 English word compositions for backing up the HD wallet, the mnemonic word
String data;
System converting unit 44, for the mnemonic word character string to be converted to 16 binary datas;
Transmission unit 45, for being stored 16 binary data to ether mill block chain using ether mill intelligence contract
On.
Optionally, described device further include:
Image and mnemonic word acquiring unit, the mnemonic word in original image and HD wallet for obtaining characteristics of human body, institute
Stating characteristics of human body includes fingerprint characteristic, pupil feature or facial characteristics;
Optimize unit and obtains the optimization image for optimizing the original image.
Optionally, described device further include:
Mnemonic word reading unit, for reading the mnemonic word using the transaction address of ether mill test environment.
Optionally, the mnemonic word reading unit is also used to:
16 binary datas stored on the block chain of ether mill are obtained using the transaction address of ether mill test environment;
16 binary data is converted into mnemonic word character string;
DES decryption is carried out to the mnemonic word character string using the private key, obtains the mnemonic word.
Optionally, described device further include:
Data check unit, and the transaction address for testing environment by ether mill, which is checked, to be stored in the block chain of ether mill
16 binary data.
Referring to Fig. 5, the embodiment of the present application also provides a kind of system of digital wallet mnemonic word storage, including 51 He of processor
Memory 52;
The memory 52, for storing the executable program of the processor;
The processor 51, for obtaining the characteristic value data in optimization image, the characteristic value data is 196 bytes
Data, and, the characteristic value data is fingerprint characteristic Value Data, pupil feature Value Data or facial characteristics Value Data;It utilizes
MD5 encrypts the characteristic value data, obtains the private key of user, it is lowercase character string data that the private key, which is 32,;It utilizes
The private key carries out des encryption to the mnemonic word in HD wallet, obtains encrypted mnemonic word character string, the mnemonic word is used for
The HD wallet is backed up, the mnemonic word is the string data of 12 English words composition;The mnemonic word character string is turned
It is changed to 16 binary datas;16 binary data is stored onto ether mill block chain using ether mill intelligence contract.
From the above technical scheme, this application provides a kind of digital wallet mnemonic word storage method, apparatus and be
System.Characteristic value data in the technical solution of the application acquisition characteristics image first carries out md5 encryption to characteristic value data, obtains
It must be supplied to the private key of user, recycle private key to carry out des encryption to the mnemonic word in HD wallet, obtain mnemonic word character string,
It is then stored into the block chain of ether mill after mnemonic word character string is converted to 16 binary datas.As it can be seen that the entirety side of the application
Case is to be encrypted using characteristics of human body to the mnemonic word in HD wallet, then encrypted mnemonic word is stored in block chain,
It ensure that the safety that the safety of mnemonic word itself also ensures that mnemonic word saves;In addition, the application also to characteristics of human body into
Md5 encryption of having gone since MD5 is irreversible Encryption Algorithm ensure that characteristics of human body's information will not be decrypted inversely,
And then also ensure the safety of characteristics of human body's information.
The application can be used in numerous general or special purpose computing system environments or configuration.Such as: personal computer, service
Device computer, handheld device or portable device, laptop device, multicomputer system, microprocessor-based system, top set
Box, programmable consumer-elcetronics devices, network PC, minicomputer, mainframe computer, including any of the above system or equipment
Distributed computing environment etc..
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group
Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage equipment.
Those skilled in the art will readily occur to its of the application after considering specification and practicing application disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the application, these modifications, purposes or
Person's adaptive change follows the general principle of the application and including the undocumented common knowledge in the art of the application
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the application are by following
Claim is pointed out.
It should be understood that the application is not limited to the precise structure that has been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.Scope of the present application is only limited by the accompanying claims.
Claims (11)
1. a kind of method of digital wallet mnemonic word storage characterized by comprising
The characteristic value data in optimization image is obtained, the characteristic value data is the data of 196 bytes, and, the characteristic value
Data are fingerprint characteristic Value Data, pupil feature Value Data or facial characteristics Value Data;
The characteristic value data is encrypted using MD5, obtains the private key of user, the private key is 32 lowercase character string numbers
According to;
Des encryption is carried out to the mnemonic word in HD wallet using the private key, obtains encrypted mnemonic word character string, it is described to help
Note word is the string data of 12 English words composition for backing up the HD wallet, the mnemonic word;
The mnemonic word character string is converted into 16 binary datas;
16 binary data is stored onto ether mill block chain using ether mill intelligence contract.
2. the method according to claim 1, wherein it is described obtain optimization image in characteristic value data before,
Further include:
The mnemonic word in the original image and HD wallet of characteristics of human body is obtained, the characteristics of human body includes fingerprint characteristic, pupil spy
Sign or facial characteristics;
Optimize the original image, obtains the optimization image.
3. the method according to claim 1, wherein described utilize ether mill intelligence contract by 16 system number
After in storage to ether mill block chain, further includes: read the mnemonic word using the transaction address of ether mill test environment.
4. according to the method described in claim 3, it is characterized in that, the transaction address using ether mill test environment is read
The step of mnemonic word includes:
16 binary datas stored on the block chain of ether mill are obtained using the transaction address of ether mill test environment;
16 binary data is converted into mnemonic word character string;
DES decryption is carried out to the mnemonic word character string using the private key, obtains the mnemonic word.
5. method according to claim 1-4, which is characterized in that described to utilize ether mill intelligence contract described
After in the storage to ether mill block chain of 16 binary datas, further includes: checked and deposited by the transaction address that environment is tested in ether mill
Store up 16 binary data in the block chain of ether mill.
6. a kind of device of digital wallet mnemonic word storage characterized by comprising
Characteristic value acquiring unit, for obtaining the characteristic value data in optimization image, the characteristic value data is the number of 196 bytes
According to, and, the characteristic value data is fingerprint characteristic Value Data, pupil feature Value Data or facial characteristics Value Data;
Private key acquiring unit obtains the private key of user, the private key for encrypting using MD5 to the characteristic value data
For 32 lowercase character string datas;
Mnemonic word encryption unit obtains encrypted for carrying out des encryption to the mnemonic word in HD wallet using the private key
Mnemonic word character string, the mnemonic word are the character of 12 English words composition for backing up the HD wallet, the mnemonic word
String data;
System converting unit, for the mnemonic word character string to be converted to 16 binary datas;
Transmission unit, for being stored 16 binary data to ether mill block chain using ether mill intelligence contract.
7. device according to claim 6, which is characterized in that described device further include:
Image and mnemonic word acquiring unit, the mnemonic word in original image and HD wallet for obtaining characteristics of human body, the people
Body characteristics include fingerprint characteristic, pupil feature or facial characteristics;
Optimize unit and obtains the optimization image for optimizing the original image.
8. device according to claim 6, which is characterized in that described device further include:
Mnemonic word reading unit, for reading the mnemonic word using the transaction address of ether mill test environment.
9. device according to claim 8, which is characterized in that the mnemonic word reading unit is also used to:
16 binary datas stored on the block chain of ether mill are obtained using the transaction address of ether mill test environment;
16 binary data is converted into mnemonic word character string;
DES decryption is carried out to the mnemonic word character string using the private key, obtains the mnemonic word.
10. according to the described in any item devices of claim 6-9, which is characterized in that described device further include:
Data check unit, and the transaction address for testing environment by ether mill checks the institute being stored in the block chain of ether mill
State 16 binary datas.
11. a kind of system of digital wallet mnemonic word storage, which is characterized in that including processor and memory;
The memory, for storing the executable program of the processor;
The processor, for obtaining the characteristic value data in optimization image, the characteristic value data is the data of 196 bytes,
And the characteristic value data is fingerprint characteristic Value Data, pupil feature Value Data or facial characteristics Value Data;Utilize MD5 pairs
The characteristic value data is encrypted, and the private key of user is obtained, and the private key is 32 lowercase character string datas;Utilize the private
Key carries out des encryption to the mnemonic word in HD wallet, obtains encrypted mnemonic word character string, the mnemonic word is for backing up institute
HD wallet is stated, the mnemonic word is the string data of 12 English words composition;The mnemonic word character string is converted to 16
Binary data;16 binary data is stored onto ether mill block chain using ether mill intelligence contract.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811332255.2A CN109598489A (en) | 2018-11-09 | 2018-11-09 | A kind of method, apparatus and system of the storage of digital wallet mnemonic word |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811332255.2A CN109598489A (en) | 2018-11-09 | 2018-11-09 | A kind of method, apparatus and system of the storage of digital wallet mnemonic word |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109598489A true CN109598489A (en) | 2019-04-09 |
Family
ID=65958118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811332255.2A Pending CN109598489A (en) | 2018-11-09 | 2018-11-09 | A kind of method, apparatus and system of the storage of digital wallet mnemonic word |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109598489A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111026582A (en) * | 2019-12-04 | 2020-04-17 | 杭州复杂美科技有限公司 | Mnemonic word backup method, mnemonic word importing method, equipment and storage medium |
CN111651964A (en) * | 2020-06-03 | 2020-09-11 | 江苏恒宝智能系统技术有限公司 | Symbol mnemonic word generating and converting method and device and electronic equipment |
CN112884474A (en) * | 2021-02-19 | 2021-06-01 | 上海源庐加佳信息科技有限公司 | Block chain wallet mnemonic word generating and importing method, system and terminal |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1138927A (en) * | 1994-01-13 | 1996-12-25 | 银行家信托公司 | Cryptographic system and method with key escrow feature |
CN107453862A (en) * | 2017-05-15 | 2017-12-08 | 杭州复杂美科技有限公司 | Private key generation storage and the scheme used |
CN107528688A (en) * | 2017-09-30 | 2017-12-29 | 矩阵元技术(深圳)有限公司 | A kind of keeping of block chain key and restoration methods, device based on encryption commission technology |
CN108123801A (en) * | 2017-12-29 | 2018-06-05 | 重庆小犀智能科技有限公司 | A kind of block chain wallet uses audio encryption private key system and method |
US20180158051A1 (en) * | 2016-12-01 | 2018-06-07 | Mastercard International Incorporated | Method and system for payment card verification via blockchain |
CN108667815A (en) * | 2018-04-18 | 2018-10-16 | 价值互联(广州)信息技术有限公司 | Block chain secret key encipher-decipher method, device and terminal based on bio-identification |
CN108768631A (en) * | 2018-05-28 | 2018-11-06 | 夸克链科技(深圳)有限公司 | A kind of block chain private key recovery mnemonic word System Design |
-
2018
- 2018-11-09 CN CN201811332255.2A patent/CN109598489A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1138927A (en) * | 1994-01-13 | 1996-12-25 | 银行家信托公司 | Cryptographic system and method with key escrow feature |
US20180158051A1 (en) * | 2016-12-01 | 2018-06-07 | Mastercard International Incorporated | Method and system for payment card verification via blockchain |
CN107453862A (en) * | 2017-05-15 | 2017-12-08 | 杭州复杂美科技有限公司 | Private key generation storage and the scheme used |
CN107528688A (en) * | 2017-09-30 | 2017-12-29 | 矩阵元技术(深圳)有限公司 | A kind of keeping of block chain key and restoration methods, device based on encryption commission technology |
CN108123801A (en) * | 2017-12-29 | 2018-06-05 | 重庆小犀智能科技有限公司 | A kind of block chain wallet uses audio encryption private key system and method |
CN108667815A (en) * | 2018-04-18 | 2018-10-16 | 价值互联(广州)信息技术有限公司 | Block chain secret key encipher-decipher method, device and terminal based on bio-identification |
CN108768631A (en) * | 2018-05-28 | 2018-11-06 | 夸克链科技(深圳)有限公司 | A kind of block chain private key recovery mnemonic word System Design |
Non-Patent Citations (1)
Title |
---|
全国大学生电子设计竞赛信息安全技术专题邀请赛组委会 编: "《全国大学生电子设计竞赛信息安全技术专题邀请赛优秀作品选编(第三届)》", 31 May 2015, 北京理工大学出版社 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111026582A (en) * | 2019-12-04 | 2020-04-17 | 杭州复杂美科技有限公司 | Mnemonic word backup method, mnemonic word importing method, equipment and storage medium |
CN111651964A (en) * | 2020-06-03 | 2020-09-11 | 江苏恒宝智能系统技术有限公司 | Symbol mnemonic word generating and converting method and device and electronic equipment |
CN111651964B (en) * | 2020-06-03 | 2023-09-12 | 江苏恒宝智能系统技术有限公司 | Symbol mnemonic word generation and conversion method and device and electronic equipment |
CN112884474A (en) * | 2021-02-19 | 2021-06-01 | 上海源庐加佳信息科技有限公司 | Block chain wallet mnemonic word generating and importing method, system and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11803633B1 (en) | Method and system for securing user access, data at rest and sensitive transactions using biometrics for mobile devices with protected, local templates | |
Joseph et al. | RETRACTED ARTICLE: A multimodal biometric authentication scheme based on feature fusion for improving security in cloud environment | |
RU2718226C2 (en) | Biometric data safe handling systems and methods | |
US9189612B2 (en) | Biometric verification with improved privacy and network performance in client-server networks | |
CN100414867C (en) | Protection of biometric data via key-dependent sampling | |
CN102638447B (en) | Method and device for system login based on autonomously generated password of user | |
CN107113170B (en) | Biometric templates preservation, verification method and biometric devices, terminal | |
CN207489017U (en) | Data desensitization system | |
Jo et al. | Security analysis and improvement of fingerprint authentication for smartphones | |
CN110390191A (en) | Method and system for safe biologic identification verifying | |
CN109598489A (en) | A kind of method, apparatus and system of the storage of digital wallet mnemonic word | |
CN107679397A (en) | The weak passwurd detecting system and method for a kind of Linux system | |
KR20190038938A (en) | SYSTEM, METHOD, AND SERVER COMPUTER SYSTEM FOR IMPLEMENTING CONVERTING ONE entity in a heterogeneous communication network environment to a verifiably authenticated entity | |
CN109767376A (en) | Image authentication method, device, computer equipment and storage medium | |
CN107871081A (en) | A kind of computer information safe system | |
CN111242611A (en) | Method and system for recovering digital wallet key | |
CN104639528A (en) | DBA (database administrator) mobile client counterattack method and DBA mobile client counterattack device | |
CN115795538A (en) | Desensitization document anti-desensitization method, apparatus, computer device and storage medium | |
CN105337742A (en) | LFSR (Linear Feedback Shift Register) file encryption and decryption methods based on human face image features and GPS (Global Position System) information | |
CN110431803A (en) | Identity-based information management encryption key | |
CN110535630A (en) | Key generation method, device and storage medium | |
SE1650475A1 (en) | Method and system for secure password storage | |
Ara et al. | An efficient privacy-preserving user authentication scheme using image processing and blockchain technologies | |
WO2017207998A1 (en) | Method of associating a person with a digital object | |
CN110069907A (en) | Big data source tracing method and system based on digital watermarking |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190409 |