CN106330453A - Mobile phone dynamic password encryption and decryption device and method - Google Patents
Mobile phone dynamic password encryption and decryption device and method Download PDFInfo
- Publication number
- CN106330453A CN106330453A CN201610672489.6A CN201610672489A CN106330453A CN 106330453 A CN106330453 A CN 106330453A CN 201610672489 A CN201610672489 A CN 201610672489A CN 106330453 A CN106330453 A CN 106330453A
- Authority
- CN
- China
- Prior art keywords
- mobile phone
- operational rule
- password
- module
- take
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3226—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
- H04L9/3228—One-time or temporary data, i.e. information which is sent for every authentication or authorization, e.g. one-time-password, one-time-token or one-time-key
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0863—Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0872—Generation of secret information including derivation or calculation of cryptographic keys or passwords using geo-location information, e.g. location data, time, relative position or proximity to other entities
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a mobile phone dynamic password encryption and decryption device and method. The device comprises a secret key module for providing a digital key; an encryption algorithm module for providing at least one operation rule; an encryption module for calculating the current time into dynamic passwords according to the user-selected secret key and the operation rule; and a decryption module for receiving the dynamic passwords calculated by the encryption module, and carrying out mobile phone decryption after identifying that user-input passwords are matched with the dynamic passwords. The method is simple in algorithm; safety degree of a mobile phone is improved greatly; and safety of the mobile phone can be ensured more effectively.
Description
Technical field
The present invention relates to the generation method of cell phone password.
Background technology
Along with the extension of cell-phone function, become the indispensable electronic product of people's daily life, existing hands
Machine can be used to pay the bill, transfer accounts, and can be used to order travelling air ticket, hotel, it is also possible to by the third party softwares such as wechat and friend
Link up emotion etc., say, that mobile phone almost relate to the various aspects of people's daily life, therefore, the safety of mobile phone,
Confidentiality is particularly significant.
The mechanism protecting mobile phone in the market is all pattern screen locking, password screen locking or fingerprint screen locking, these several locks
Screen mode password is the most all fixing, then can crack mobile phone after being remembered by other people the most easily.
Therefore, how providing a kind of dynamic cell phone password is industry technical problem urgently to be resolved hurrily.
Summary of the invention
The present invention is to solve technical problem present in above-mentioned prior art, propose a kind of mobile phone dynamic password adds solution
Close device, including the cipher key module for providing digital cipher, it is provided that the enciphering algorithm module of at least one operational rule, according to
Current time is calculated the encrypting module for dynamic password by key and operational rule that user selects, receives what encrypting module calculated
Dynamic password also verifies that password that user inputs then carries out the deciphering module of mobile phone unblock after matched.
In the technical program, described operational rule includes additive operation, subtraction, multiplying and division arithmetic.Institute
State any one bit value that digital cipher is 1-9.
In the technical program, concrete computation rule is: described encrypting module by each numeral of current time according to computing
Rule calculates with key respectively;When operational rule is additive operation or multiplying, take the individual of each operation result
Figure place;When operational rule is subtraction, take the absolute value of each operation result;When operational rule is division arithmetic,
Take the units of the integer part of operation result.
Preferably, also including a private mark module, be used for recording the fixed password of user's input, described deciphering module is necessarily
The twice correct fixed password receiving user's input in time then carries out mobile phone unblock.
The present invention makes existing fixed password become dynamic password by introducing time factor, even if imprudence is seen by people
Password, is also not result in that password is cracked immediately, adds the safety of mobile phone.And the combination of this dynamic password is a lot, compares
Much more compared with fixed password, other people crack difficulty and strengthen, and can preferably protect user's privacy.And the present invention is to utilize
Simple position addition subtraction multiplication and division computing, generally can be drawn by mental arithmetic immediately, does not interferes with the normal use of mobile phone.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of the present invention;
Fig. 2 is the flow chart of the present invention.
Detailed description of the invention
Principle and structure to the present invention are described in detail below in conjunction with the accompanying drawings.
As it is shown in figure 1, the ciphering and deciphering device of the mobile phone dynamic password of one embodiment of the invention offer, including: cipher key module,
Enciphering algorithm module, encrypting module and deciphering module.
Cipher key module is used for providing digital cipher, and digital cipher is any one bit value of 1-9, and cipher key module is providing number
During word key, can each out of order display 1-9, to increase security performance further.
Enciphering algorithm module can provide at least one operational rule, and in the present embodiment, enciphering algorithm module provides four
Plant operational rule, be additive operation, subtraction, multiplying and division arithmetic respectively.User can arbitrarily select wherein one
Plant operational rule.
When user needs to be unlocked mobile phone, key and operational rule that encrypting module can select according to user ought
Front Time Calculation is dynamic password, then unlocked state receive encrypting module calculate dynamic password, and by user input close
Code carries out checking and mates with dynamic password, if coupling, carries out mobile phone unblock.During concrete calculating, encrypting module can be by time current
Between each numeral calculate with key respectively according to operational rule.When operational rule is additive operation or multiplying
Time, take the units of each operation result;When operational rule is subtraction, take the absolute value of each operation result;
When operational rule is division arithmetic, take the units of the integer part of operation result.It is all simple due to operational rule
The addition subtraction multiplication and division of figure place, as long as so user remembers the operational rule oneself selected, looking at the time that current phone shows, so that it may
Go out the password of current phone with rapid mental arithmetic, and after password of being totally lost each time, password next time is again that another one is new
Number, mobile phone safe will be caused to lose efficacy because being seen the password being currently entered.
Such as, the mobile phone key that user selects is 8, and operational rule is multiplying, and current time is 09:26, then 0*8 etc.
In 0, first, password takes 0, and 9*8 is equal to 72, and password second takes 2, and 2*8 is equal to 16, and the 3rd, password takes 6, and 6*8 is equal to 48,
The 4th, password takes 8, i.e. current password is 0268.
The operational rule oneself selected to prevent user from forgetting, present invention also offers a private mark module, is used for remembering
Employ the fixed password of family input, when user inputs the fixed password oneself arranged, just need within a certain period of time input continuously
True twice, mobile phone just can be unlocked by deciphering module.
As in figure 2 it is shown, the invention allows for the encipher-decipher method of mobile phone dynamic password, concretely comprise the following steps:
User selects a digital cipher and a kind of operational rule, when carrying out encrypted state after mobile phone blank screen;Digital cipher is 1-9
Any one bit value.Operational rule includes additive operation, subtraction, multiplying and division arithmetic.
Each of digital cipher and current time being calculated according to operational rule, the result after calculating is with current
The password of input is compared, if consistent, unlocks mobile phone, if inconsistent, continues to keep the encrypted state of mobile phone.When select
When operational rule is additive operation or multiplying, after each of time is carried out multiplication or additive operation with digital cipher,
Take the units of each operation result;When operational rule is subtraction, each of time is subtracted each other with digital cipher
After, take the absolute value of each operation result;When operational rule is division arithmetic, by the time each divided by numeral close
Key, takes the units of the integer part of operation result.
Embodiments above is only in order to illustrate the structure of the present invention, and those of ordinary skill in the art is in the present invention
Design under can make various deformation and change, these deformation and within change is included in protection scope of the present invention.
Claims (8)
1. the ciphering and deciphering device of a mobile phone dynamic password, it is characterised in that include the cipher key module for providing digital cipher,
Thering is provided the enciphering algorithm module of at least one operational rule, current time is calculated by the key and the operational rule that select according to user
For the encrypting module of dynamic password, after receiving dynamic password that encrypting module calculates and verifying that password that user inputs is matched
Then carry out the deciphering module of mobile phone unblock.
2. ciphering and deciphering device as claimed in claim 1, it is characterised in that described operational rule includes additive operation, subtraction fortune
Calculation, multiplying and division arithmetic.
3. ciphering and deciphering device as claimed in claim 2, it is characterised in that described encrypting module is by each figure place of current time
Radical calculates with key respectively according to operational rule;
When operational rule is additive operation or multiplying, take the units of each operation result;
When operational rule is subtraction, take the absolute value of each operation result;
When operational rule is division arithmetic, take the units of the integer part of operation result.
4. the ciphering and deciphering device as described in claims 1 to 3 any one claim, it is characterised in that also include a private mark
Module, is used for recording the fixed password of user's input, and described deciphering module receives twice of user's input within a certain period of time
Correct fixed password then carries out mobile phone unblock.
5. the ciphering and deciphering device as described in claims 1 to 3 any one claim, it is characterised in that described digital cipher
Any one bit value for 1-9.
6. the encipher-decipher method of a mobile phone dynamic password, it is characterised in that comprise the steps:
Step 1: user selects a digital cipher and a kind of operational rule, when carrying out encrypted state after mobile phone blank screen;
Step 2: when user inputs password, calculates each of digital cipher and current time according to operational rule,
Result after calculating is compared with the password being currently entered, if consistent, unlocks mobile phone, if inconsistent, continues to keep hands
The encrypted state of machine.
7. encipher-decipher method as claimed in claim 6, it is characterised in that described operational rule includes additive operation, subtraction fortune
Calculation, multiplying and division arithmetic;
Described digital cipher is any one bit value of 1-9.
8. encipher-decipher method as claimed in claim 7, it is characterised in that when the operational rule selected is additive operation or multiplication
During computing, after each of time is carried out multiplication or additive operation with digital cipher, take the units of each operation result;
When operational rule is subtraction, after each of time being subtracted each other with digital cipher, take each operation result
Absolute value;
When operational rule is division arithmetic, by each of time divided by digital cipher, take the integer part of operation result
Units.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610672489.6A CN106330453A (en) | 2016-08-16 | 2016-08-16 | Mobile phone dynamic password encryption and decryption device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610672489.6A CN106330453A (en) | 2016-08-16 | 2016-08-16 | Mobile phone dynamic password encryption and decryption device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106330453A true CN106330453A (en) | 2017-01-11 |
Family
ID=57740538
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610672489.6A Pending CN106330453A (en) | 2016-08-16 | 2016-08-16 | Mobile phone dynamic password encryption and decryption device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106330453A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107516025A (en) * | 2017-07-04 | 2017-12-26 | 深圳天珑无线科技有限公司 | Terminal and its method for generating cipher code, computer-readable recording medium |
CN109886014A (en) * | 2019-02-28 | 2019-06-14 | 上海龙旗科技股份有限公司 | A kind of method and apparatus logging in testing tool |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101763473A (en) * | 2008-12-25 | 2010-06-30 | 佛山市顺德区汉达精密电子科技有限公司 | Variable cipher device and method |
CN104732388A (en) * | 2015-03-26 | 2015-06-24 | 深圳市亚略特生物识别科技有限公司 | Electronic payment method and system |
CN105337729A (en) * | 2015-11-19 | 2016-02-17 | 广东欧珀移动通信有限公司 | Encryption method and device of mobile terminal and mobile terminal |
-
2016
- 2016-08-16 CN CN201610672489.6A patent/CN106330453A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101763473A (en) * | 2008-12-25 | 2010-06-30 | 佛山市顺德区汉达精密电子科技有限公司 | Variable cipher device and method |
CN104732388A (en) * | 2015-03-26 | 2015-06-24 | 深圳市亚略特生物识别科技有限公司 | Electronic payment method and system |
CN105337729A (en) * | 2015-11-19 | 2016-02-17 | 广东欧珀移动通信有限公司 | Encryption method and device of mobile terminal and mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107516025A (en) * | 2017-07-04 | 2017-12-26 | 深圳天珑无线科技有限公司 | Terminal and its method for generating cipher code, computer-readable recording medium |
CN109886014A (en) * | 2019-02-28 | 2019-06-14 | 上海龙旗科技股份有限公司 | A kind of method and apparatus logging in testing tool |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Cooper et al. | Computer and communications security | |
CN110995737B (en) | Gradient fusion method and device for federal learning and electronic equipment | |
CN104408363B (en) | Security code system | |
US20180144114A1 (en) | Securing Blockchain Transactions Against Cyberattacks | |
KR101769119B1 (en) | Password Authentication System Based on Junk Data Coincidence and User Authentication Method thereof | |
CN104537300B (en) | Security password setting and verification mode | |
CN101132281A (en) | Network security authentication system for preventing key from stealing | |
Guerar et al. | Securing PIN‐based authentication in smartwatches with just two gestures | |
CN103198247A (en) | Computer safety protection method and computer safety protection system | |
CN106850232B (en) | Authorization management method and system for state maintenance | |
CN109165531A (en) | A kind of AES mask method, electronic equipment and storage medium | |
Boonkrong | Internet banking login with multi-factor authentication | |
CN106656471B (en) | A kind of guard method and system of user sensitive information | |
CN106330453A (en) | Mobile phone dynamic password encryption and decryption device and method | |
CN107733936A (en) | A kind of encryption method of mobile data | |
Kabir et al. | Enhancing smartphone lock security using vibration enabled randomly positioned numbers | |
Ibrahım et al. | A novel data encryption algorithm to ensure database security | |
CN101496021A (en) | Method for generating access data for a medical device | |
KR102357698B1 (en) | Private key management method using partial hash value | |
CN113672886A (en) | Prompting method and device | |
KR101624394B1 (en) | Device for authenticating password and operating method thereof | |
IT201600079563A1 (en) | METHOD OF AUTHENTICATION SAFE OF A REQUEST FOR A REMOTE SUPPLIER AND GENERATED IN A PERSONAL DEVICE WITH A BIFURCATION OF THE TRANSMISSION OF A MEANS OF AUTHENTICATION | |
KR101026647B1 (en) | Communication security system and method of the same with key derivation cryptographic algorithm | |
KR101012479B1 (en) | Apparatus and method for generating one time password | |
Kaushik et al. | A novel graphical password scheme to avoid shoulder-surfing attacks in android devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination |