CN107066876A - The Password Management device and management method of a kind of automatic setting password - Google Patents

The Password Management device and management method of a kind of automatic setting password Download PDF

Info

Publication number
CN107066876A
CN107066876A CN201710036488.7A CN201710036488A CN107066876A CN 107066876 A CN107066876 A CN 107066876A CN 201710036488 A CN201710036488 A CN 201710036488A CN 107066876 A CN107066876 A CN 107066876A
Authority
CN
China
Prior art keywords
password
module
management method
key
automatic setting
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
Application number
CN201710036488.7A
Other languages
Chinese (zh)
Inventor
孙继芃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
JRD Communication Shenzhen Ltd
Original Assignee
JRD Communication Shenzhen Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by JRD Communication Shenzhen Ltd filed Critical JRD Communication Shenzhen Ltd
Priority to CN201710036488.7A priority Critical patent/CN107066876A/en
Publication of CN107066876A publication Critical patent/CN107066876A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0863Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a kind of Password Management device of automatic setting password in Password Management field and management method.The present invention is by using including by setting interface to carry out password collection or carrying out password collection in the interface prompt user that user inputs password;The password is encrypted according to AES, key is generated, the length of key is maximum length;Preserve to the key, file is saved in the zip file of encryption;Described zip file password is encrypted;According to bag name is applied, password is set automatically.The device of the cipher management method of the automatic setting password, including acquisition module, the first encrypting module, memory module, the second encrypting module, monitoring module, detection module, the first deciphering module, the second deciphering module, and by input module.The technical scheme of five steps solves the technical problem for remembeing that the confidentiality that pin mode is present is not high in the prior art.The technique effect for achieve and password can be set automatically, improving confidentiality.

Description

The Password Management device and management method of a kind of automatic setting password
Technical field
The invention belongs to Password Management field, the Password Management device of more particularly to a kind of automatic setting password and manager Method.
Background technology
There are many applications on current electronic equipment, user name and account can be all related to substantially, user is frequently encountered Situation about forgetting Password.
Prior art solves to forget Password this technical problem by allowing us to remember password, but presence can maintain secrecy Property it is not high, easily induce divulge a secret risk the problem of.It is therefore proposed that a kind of password pipe that can set password, confidentiality high automatically Reason method is just necessary.
The content of the invention
The invention solves the problems that the low technical problem of password, confidentiality can not be set automatically in the prior art, it is desirable to provide It is a kind of that the high cipher management method of password, confidentiality can be set automatically.The present invention is encrypted by being collected to user cipher And preserve, the bag name according to application when user needs to input password gets its corresponding password, and is automatically performed close The setting of code.
The technical scheme that present invention solution above-mentioned technical problem is used is as follows:
A kind of cipher management method of automatic setting password, it is characterized in that:It the described method comprises the following steps:
(1) password is collected;
(2) step (1) described password is encrypted according to AES, generates key, the length of key is maximum Length;
(3) preserve to step (2) key, file is saved in the zip file of encryption;
(4) the zip file password described in step (3) is encrypted;
(5) according to bag name is applied, password is set automatically.
For prioritization scheme, further, the password is collected to be included by setting interface to carry out password collection:
All applications are listed in interface is set, the application of password to be saved is clicked on, password is inputted in frame is played.
Further, the password collects the interface prompt user preservation progress password of the implicit password inputted by user Collection includes:
Judge whether view is input frame view according to reflex mechanism, be the attribute for obtaining the view, judge whether It is Password Input frame, when the triggering of Password Input frame is from there is interface focus to interface focus is lost, points out user to preserve password.
Further, AES is symmetric encipherment algorithm in the step (2).
Further, encryption comprises the following steps in the step (4):
A. the password of zip file is encoded by base64 methods,
B. since base64 methods encode obtained word string n-th, 10 random letters of increase, by 10 words Mother is saved in database;
Wherein n is natural number.
Further, the step B is:
Since base64 methods encode obtained word string the 10th, 10 random letters of increase, by 10 words Mother is saved in database;
Further, the step (5) includes:
(1) monitor current view state in bottom manages class, the focus for judging view acquisitions be input frame view then Into step (2), otherwise into step (6);
(2) current application bag name is obtained according to management class;
(3) taken out from database by the treated word string of base64 methods, remove n-th Dao n+10, to the word string Carry out base64 decompilings and obtain zip file password;
(4) the key file of symmetric cryptography is got according to step (3) the zip passwords decompression zip file, in key The secret spoon of symmetric cryptography is obtained in file according to step (2) the application bag name;
(5) decryption step (4) key obtains corresponding user name password, text is once removed, password It is automatically copied into text box;
(6) terminate;
Wherein n is natural number.
Further, the view obtains a secondary focal point and carries out once automatic setting password.
Further, stating the automatic cipher management method for setting password is used for Password Management.
Further, the password that the cipher management method of the automatic setting password is obtained can be deleted or hand by user Dynamic change.
Present invention also offers a kind of device for being used to set the cipher management method of password automatically, including collect to application The acquisition module of name in an account book password, user cipher is encrypted the first encrypting module for obtaining key, and storage includes key Zip file memory module, the second encrypting module that zip file password is encrypted, monitoring bottom management class view shapes The monitoring module of state, detects the detection module of view input frame classifications, the first decryption mould that zip file password is decrypted Block, the second deciphering module that the key to zip file memory storage is decrypted, and correspondence user name password is automatically entered into The input module of Password Input frame.
In above-mentioned technical proposal, for optimization, further, the acquisition module includes first by setting interface acquisition Collection acquisition module and the second acquisition module by lifting user's preservation password and being acquired.
Password is encrypted by using symmetric encipherment algorithm by the present invention, generates key, the length of key is maximum Length;Key file is saved in the zip file of encryption;Achieve effect one:Improve the confidentiality of cipher management method.
The state that current view is monitored in class is managed by using bottom, judges that the focus that view is obtained is input frame view;Zip file is decrypted, key is found according to user's bag name, automatic setting password is completed.Said process achieves effect two: Password can be set automatically.
The method of automatic setting password of the present invention can be by manual modification and deletion, and mode is more diversified, Achieve effect three:More flexible and convenient setting password.
To sum up, the present invention has following technique effect:
Effect one:Improve the confidentiality of cipher management method;
Effect two:Password can be set automatically;
Effect three:Improve flexibility and practicality.
Brief description of the drawings
Fig. 1 is automatic setting password flow chart of the invention.
Fig. 2 is device block diagram of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to embodiments, to the present invention It is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not used to Limit the present invention.
Fig. 1 sets this process of password to carry out flow detailed annotation to automatic in the present invention.
Embodiment one:
Present invention also offers a kind of device for being used to set the cipher management method of password automatically, including collect to application The acquisition module of name in an account book password, user cipher is encrypted the first encrypting module for obtaining key, and storage includes key Zip file memory module, the second encrypting module that zip file password is encrypted, monitoring bottom management class view shapes The monitoring module of state, detects the detection module of view input frame classifications, the first decryption mould that zip file password is decrypted Block, the second deciphering module that the key to zip file memory storage is decrypted, and correspondence user name password is automatically entered into The input module of Password Input frame.
The acquisition module includes collecting acquisition module and close by lifting user's preservation by set interface to obtain first Code and the second acquisition module for being acquired.
The automatic method for setting password, comprises the following steps:
(1) progress password collection is collected by setting interface to carry out password;
(2) step (1) described password is encrypted according to symmetric encipherment algorithm, generates key, the length of key is most Long length;
(3) preserve to step (2) key, file is saved in the zip file of encryption;
(4) the zip file password described in step (3) is encrypted;
A. the password of zip file is encoded by base64 methods,
B. since base64 methods encode obtained word string the 5th, 10 random letters of increase, by 10 words Mother is saved in database;
(5) according to bag name is applied, automatic setting password is completed by following steps;
A monitors current view state in bottom manages class, judges that the focus that view is obtained is that input frame view then enters Enter step b, otherwise terminate process;
B obtains current application bag name according to management class;
C is taken out from database by the treated word string of base64 methods, removes the 5 to 15th, and the word string is carried out Base64 decompilings obtain zip file password;
D zip passwords decompression zip files according to step c get the key file of symmetric cryptography, in key file The middle secret spoon for obtaining symmetric cryptography using bag name according to step b;
Key described in e decryption steps d obtains corresponding user name password, and text is once removed, and password is automatic Copy in text box, complete automatic setting cryptographic process.
The view obtains a secondary focal point and carries out once automatic setting password.
Stating the automatic cipher management method for setting password is used for Password Management.
The password that the cipher management method of the automatic setting password is obtained can be deleted by user or changed manually.
Password is encrypted by using symmetric encipherment algorithm by the present invention, generates key, the length of key is maximum Length;Key file is saved in the zip file of encryption;Achieve effect one:Improve the confidentiality of cipher management method.
The state that current view is monitored in class is managed by using bottom, judges that the focus that view is obtained is input frame view;Zip file is decrypted, key is found according to user's bag name, automatic setting password is completed.Said process achieves effect two: Password can be set automatically.
The method of automatic setting password of the present invention can be by manual modification and deletion, and mode is more diversified, Achieve effect three:More flexible and convenient setting password.
Embodiment 2
The present embodiment has carried out different elaborations and optimization, password on the basis of embodiment 1 to the mode that password is collected The step of collection is:
Crossing the interface prompt user preservation progress password collection of the implicit password of user's input includes:
Judge whether view is input frame view according to reflex mechanism, be the attribute for obtaining the view, judge whether It is Password Input frame, when the triggering of Password Input frame is from there is interface focus to interface focus is lost, points out user to preserve password.
Embodiment 3
The present embodiment further illustrates the difference of the cipher processing method to key zip file on the basis of embodiment 1, Its anti-decryption method is also different therewith:
The step (4) the zip file password described in step (3) is encrypted including:
A. the password of zip file is encoded by base64 methods,
B. since base64 methods encode obtained word string the 10th, 10 random letters of increase, by described 10 Letter is saved in database.
The step (5) completes automatic setting password according to bag name is applied, by following steps to be included:
A monitors current view state in bottom manages class, judges that the focus that view is obtained is that input frame view then enters Enter step b, otherwise terminate process;
B obtains current application bag name according to management class;
C is taken out from database by the treated word string of base64 methods, removes the 10 to 20th, and the word string is carried out Base64 decompilings obtain zip file password;
D zip passwords decompression zip files according to step c get the key file of symmetric cryptography, in key file The middle secret spoon for obtaining symmetric cryptography using bag name according to step b;
Key described in e decryption steps d obtains corresponding user name password, and text is once removed, and password is automatic Copy in text box, complete automatic setting cryptographic process.
Although illustrative embodiment of the invention is described above, in order to the technology of the art Personnel are it will be appreciated that the present invention, but the present invention is not limited only to the scope of embodiment, to the common skill of the art For art personnel, as long as long as various change is in the spirit and scope of the invention that appended claim is limited and is determined, one The innovation and creation using present inventive concept are cut in the row of protection.

Claims (10)

1. a kind of cipher management method of automatic setting password, it is characterized in that:It the described method comprises the following steps:
(1) password is collected;
(2) step (1) described password is encrypted according to AES, generates key;
(3) file for preserving step (2) described key is saved in the zip file of encryption;
(4) the zip file password described in step (3) is encrypted;
(5) according to bag name is applied, password is set automatically.
2. the cipher management method of automatic setting password according to claim 1, it is characterized in that:The step that the password is collected Suddenly, specifically include:
All applications are listed in interface is set, the application of password to be saved is clicked on, password is inputted in frame is played.
3. the cipher management method of automatic setting password according to claim 1, it is characterized in that:The step that the password is collected Suddenly, specifically include:
Judge whether view is input frame view according to reflex mechanism, be the attribute for obtaining the view, judge whether it is close Code input frame, when the triggering of Password Input frame is from there is interface focus to interface focus is lost, points out user to preserve password.
4. the cipher management method of automatic setting password according to claim 1, it is characterized in that:Add in the step (2) Close algorithm is symmetric encipherment algorithm.
5. the cipher management method of automatic setting password according to claim 1, it is characterized in that:Add in the step (4) Close processing comprises the following steps:
A. the password of zip file is encoded by base64 methods;
B. since base64 methods encode obtained word string n-th, 10 random letters of increase protect described 10 letters It is stored in database;
Wherein n is natural number.
6. the cipher management method of automatic setting password according to claim 5, it is characterized in that:The step B is:
Since base64 methods encode obtained word string the 10th, 10 random letters of increase protect described 10 letters It is stored in database.
7. the cipher management method of automatic setting password according to claim 1, it is characterized in that:The step (5) includes:
A monitors current view state in bottom manages class, judges that the focus that view is obtained is that input frame view then enters step Suddenly (B), otherwise into step (F);
B obtains current application bag name according to management class;
C is taken out from database by the treated word string of base64 methods, removes n-th Dao n+10, and the word string is carried out Base64 decompilings obtain zip file password;
D gets the key file of symmetric cryptography according to step (C) the zip passwords decompression zip file, in key file The secret spoon of symmetric cryptography is obtained according to step (B) the application bag name;
E decryption steps (D) key obtains corresponding user name password, and text is once removed, and password is automatically multiple Make in text box;
F terminates;
Wherein n is natural number.
8. the cipher management method of automatic setting password according to claim 7, it is characterized in that:The view is obtained once Focus carries out once automatic setting password.
9. for the device of the cipher management method according to any automatic setting passwords of claim 1-8, it is characterized in that:Institute The acquisition module that the device of the cipher management method for setting password automatically includes collecting correspondence user name password is stated, to user The first encrypting module for obtaining key, the memory module of zip file of the storage comprising key, by zip is encrypted in password The second encrypting module that file password is encrypted, monitoring bottom manages the monitoring module of class view states, detection view inputs The detection module of frame classification, the first deciphering module that zip file password is decrypted, the key to zip file memory storage is entered Second deciphering module of row decryption, and correspondence user name password is automatically entered into the input module of Password Input frame.
10. it is used for the device that the cipher management method of password is set automatically according to claim 9, it is characterized in that:It is described to adopt Collection module includes the first collection acquisition module by setting interface acquisition and is acquired by pointing out user to preserve password Second acquisition module.
CN201710036488.7A 2017-01-18 2017-01-18 The Password Management device and management method of a kind of automatic setting password Pending CN107066876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710036488.7A CN107066876A (en) 2017-01-18 2017-01-18 The Password Management device and management method of a kind of automatic setting password

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710036488.7A CN107066876A (en) 2017-01-18 2017-01-18 The Password Management device and management method of a kind of automatic setting password

Publications (1)

Publication Number Publication Date
CN107066876A true CN107066876A (en) 2017-08-18

Family

ID=59598291

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710036488.7A Pending CN107066876A (en) 2017-01-18 2017-01-18 The Password Management device and management method of a kind of automatic setting password

Country Status (1)

Country Link
CN (1) CN107066876A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858700A (en) * 2006-03-14 2006-11-08 珠海金山软件股份有限公司 Device and method for automatic remembering and filling document cipher
CN101216867A (en) * 2007-01-05 2008-07-09 黄承雄 A logging-on process cipher protection method by means of background synchronization
CN102495855A (en) * 2011-11-21 2012-06-13 奇智软件(北京)有限公司 Automatic login method and device
CN102880484A (en) * 2012-08-30 2013-01-16 深圳市永盛世纪科技有限公司 Method and system for performing start registration, characteristic extraction and login information binding of software login window on intelligent equipment
CN104657687A (en) * 2013-11-21 2015-05-27 深圳富泰宏精密工业有限公司 System and method for memorizing and quickly inputting password
CN105554038A (en) * 2016-02-25 2016-05-04 浪潮通用软件有限公司 Control method for data security during on-line system and off-line system data interaction
CN105631346A (en) * 2015-12-25 2016-06-01 深圳市华讯方舟软件技术有限公司 Spark database electronic coded lock safe and convenient to use and operation method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1858700A (en) * 2006-03-14 2006-11-08 珠海金山软件股份有限公司 Device and method for automatic remembering and filling document cipher
CN101216867A (en) * 2007-01-05 2008-07-09 黄承雄 A logging-on process cipher protection method by means of background synchronization
CN102495855A (en) * 2011-11-21 2012-06-13 奇智软件(北京)有限公司 Automatic login method and device
CN102880484A (en) * 2012-08-30 2013-01-16 深圳市永盛世纪科技有限公司 Method and system for performing start registration, characteristic extraction and login information binding of software login window on intelligent equipment
CN104657687A (en) * 2013-11-21 2015-05-27 深圳富泰宏精密工业有限公司 System and method for memorizing and quickly inputting password
CN105631346A (en) * 2015-12-25 2016-06-01 深圳市华讯方舟软件技术有限公司 Spark database electronic coded lock safe and convenient to use and operation method thereof
CN105554038A (en) * 2016-02-25 2016-05-04 浪潮通用软件有限公司 Control method for data security during on-line system and off-line system data interaction

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴志祥等: "《Android应用开发案例教程》", 28 February 2015 *

Similar Documents

Publication Publication Date Title
CN104486315B (en) A kind of revocable key outsourcing decryption method based on contents attribute
CN106571905B (en) A kind of numeric type data homomorphism Order Preserving Encryption Method
JP6884642B2 (en) Computer implementation systems and methods for protecting sensitive data through data re-encryption
CN106027234A (en) Key protection method
FR3060165A1 (en) SECURE CLASSIFICATION METHOD USING TRANSCHIFFREMENT OPERATION
CN105100115A (en) Data storage method for privacy protection based on encryption password and data fractionation
JP2017225116A5 (en)
CN108092766A (en) A kind of cipher text searching method for verifying authority and its system
CN110474908A (en) Transaction monitoring and managing method and device, storage medium and computer equipment
CN106921489B (en) Data encryption method and device
CN108063754A (en) Towards the attribute base encryption method of wearable health monitoring equipment anonymization data
CN110620658A (en) Method and device for safely storing private key of block chain
CN108540486A (en) The generation of cloud key and application method
CN105337742A (en) LFSR (Linear Feedback Shift Register) file encryption and decryption methods based on human face image features and GPS (Global Position System) information
CN107066868A (en) A kind of data guard method and device of identity-based certification
CN104794243B (en) Third party's cipher text retrieval method based on filename
CN105279447A (en) Method and device for data encryption, and method and device for data decryption
CN109614810A (en) Data encryption and decryption method based on fingerprint
US10380352B2 (en) Document security in enterprise content management systems
CN106452754B (en) Multi-user online dynamic encryption method and device
CN107066876A (en) The Password Management device and management method of a kind of automatic setting password
US20230327855A1 (en) System and method for protecting secret data items using multiple tiers of encryption and secure element
CN105357011A (en) Encryption and decryption methods and systems, and terminal
CN104252606A (en) Document encryption method, decryption method and device based on dual-encryption factors
Jabiullah et al. A Playfair Cipher-based Secured Patients’ Information Transaction System

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: 20170818