User management password generation method

Generating consistent passwords through SM3 algorithm and hashing operations solves the memory burden and leakage risks of users managing passwords on multiple platforms, and provides an efficient and secure password management solution to ensure that passwords comply with specific specifications.

CN119128948APending Publication Date: 2024-12-13BEIYIN FINANCIAL TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411338357.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-25
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

In the Internet era, users need to remember and manage independent passwords from multiple platforms, resulting in increased memory burden and automatic memory password function increases the risk of password leakage, affecting information security.

Method used

The SM3 algorithm is used to perform hashing operations, extract the first few bytes of the hash value to generate a random sequence, select characters from the predefined character set according to the password length specified by the user, and perform type verification to ensure that the generated password meets the conditions. User-provided universal passwords and platform names generate consistent passwords.

Benefits of technology

It realizes the convenience of users without memory of multiple passwords, while reducing the risk of password leakage, providing an efficient and secure password management solution to ensure that the password generated every time it is used is consistent and complies with specific character type specifications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119128948A_ABST
    Figure CN119128948A_ABST
Patent Text Reader

Abstract

The invention discloses a user management password generation method. The password generation method comprises the following steps: carrying out Hash operation by utilizing an SM3 algorithm; extracting the first bytes of the hash value to generate the same random sequence; selecting characters from a predefined character set one by one according to a password length specified by a user; when characters are selected every time, type verification is carried out, and it is ensured that the generated password meets the condition; a user provides a universal password and a platform name to realize password management; for the same universal password and platform name, the password generated by the key workshop every time is consistent. A user only needs to provide a universal password and a platform name, and password management is easily achieved. For the same universal password and platform name, the password generated by the key workshop every time is consistent.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of password generation, and in particular to a method for generating a user management password. Background Art

[0002] KeyWorkshop, as an advanced password generation tool, has a unique operating mechanism. It can quickly generate highly reliable passwords with only two simple elements: a common password and a platform name, completely revolutionizing the way users manage passwords. Users no longer need to worry about remembering separate passwords for each platform, nor do they need to store passwords in potentially risky places.

[0003] The core advantage of Key Workshop lies in its convenience and security. Users only need to provide a universal password and platform name to easily manage passwords. For the same universal password and platform name, the password generated by Key Workshop is consistent each time. At the same time, it cleverly uses the platform name as a fixed salt value to further enhance the stability and predictability of the password. In addition, Key Workshop will maintain the platform name, so that users only need to remember their universal password to access various platforms unimpeded, greatly reducing the burden of memory.

[0004] Disadvantages of existing technology:

[0005] In today's Internet age, everyone is inseparable from a variety of websites and applications in every aspect of work and life. However, remembering the passwords of each platform has become a headache. Although some platforms provide the function of automatically memorizing passwords, this practice undoubtedly increases the risk of password leakage, making our information security precarious. Summary of the invention

[0006] In view of the above problems, the present invention is proposed to provide a method for generating a user management password that overcomes the above problems or at least partially solves the above problems.

[0007] According to one aspect of the present invention, a method for generating a user management password is provided, the password generating method comprising:

[0008] Use SM3 algorithm to perform hash operation;

[0009] Extract the first few bytes of the hash value to produce the same random sequence;

[0010] Select characters one by one from a predefined character set according to the password length specified by the user;

[0011] Each time you select a character, perform a type check to ensure that the generated password meets the requirements;

[0012] The user provides a common password and platform name to manage the password;

[0013] For the same universal password and platform name, the password generated by KeyWorkshop each time is consistent.

[0014] Optionally, the character type is required to include an uppercase letter, a lowercase letter and a special character.

[0015] Optionally, ensuring that the generated password meets the conditions specifically includes: the length meets the requirements and satisfies specific character type specifications.

[0016] Optionally, performing a hash operation using the SM3 algorithm specifically includes:

[0017] The common password, platform name, and fixed salt value are hashed using the SM3 algorithm.

[0018] Optionally, extracting the first several bytes of the hash value to generate the same random sequence specifically includes:

[0019] Extract the first few bytes of the hash value as the seed of the Random object to ensure that the same random sequence is generated when the input conditions are consistent.

[0020] Optionally, the type checking specifically includes:

[0021] Each time you select a character, perform a type check to ensure that the selected character meets the character type requirements of the password;

[0022] If the current character does not meet the requirements, skip this selection and continue to the next iteration.

[0023] The present invention provides a method for generating a user management password, which includes: performing a hash operation on the SM3 algorithm; extracting the first few bytes of the hash value to generate the same random sequence; selecting characters one by one from a predefined character set according to the password length specified by the user; performing a type check each time a character is selected to ensure that the generated password meets the conditions; the user provides a common password and a platform name to implement password management; for the same common password and platform name, the password generated by the Key Workshop each time is consistent. It solves various problems existing in traditional password management methods and brings unprecedented convenience and peace of mind to users.

[0024] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.

[0026] Figure 1 The present invention provides a flowchart of a method for generating a user management password. DETAILED DESCRIPTION

[0027] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0028] The terms "comprises" and "having" and any variations thereof in the description embodiments, claims and drawings of the present invention are intended to cover non-exclusive inclusions, for example, including a series of steps or units.

[0029] The technical solution of the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0030] This system uses the SpringBoot framework as the backend support to achieve efficient password generation services. At the same time, it uses vue3, APP, and applet to build the front-end interface to provide users with an intuitive and friendly operation experience. Without the cumbersome login process, you can quickly start and enjoy the service, truly out of the box.

[0031] like Figure 1 As shown, a method for generating a user management password includes:

[0032] The front-end and back-end parties have reached a consensus on the encryption and decryption specifications. After the user enters the universal password, platform name, and specified password length, the front-end immediately encrypts this information. After the server receives this encrypted data, it decrypts it according to the pre-agreed method.

[0033] In the process of generating passwords, the SM3 algorithm is first used to hash the common password, platform name, and fixed salt value. Then, the first few bytes of the hash value are extracted and used as the seed of the Random object to ensure that the same random sequence can be generated when the input conditions are consistent.

[0034] Next, characters are selected one by one from the predefined character set according to the password length specified by the user. Each time a character is selected, a type check is performed to ensure that the selected characters meet the character type requirements of the password, that is, at least one uppercase letter, one lowercase letter, and one special character. If the current character does not meet these requirements, the current selection is skipped and the next iteration is continued. In this way, the generated password is ensured to not only meet the required length, but also meet the specific character type specifications.

[0035] Finally, in order to reduce the tediousness of users entering the platform each time, this system has a special platform name maintenance function so that users can easily choose and improve the user experience.

[0036] Beneficial effects: It eliminates the inconvenience of requiring users to remember passwords in traditional methods, and avoids the risk of leakage caused by the platform's automatic password memorization. Key Workshop provides users with an efficient and secure password management solution. Users only need to provide a common password and the corresponding platform name to easily manage passwords, without having to worry about remembering many passwords. Before using the platform each time, you only need to retrieve your password through Key Workshop, which is convenient and safe, making password management easier.

[0037] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A method for generating a user management password, characterized in that: The password generation method comprises: Use SM3 algorithm to perform hash operation; Extract the first few bytes of the hash value to produce the same random sequence; Select characters one by one from a predefined character set according to the password length specified by the user; Each time you select a character, perform a type check to ensure that the generated password meets the requirements; The user provides a common password and platform name to manage the password; For the same universal password and platform name, the password generated by KeyWorkshop each time is consistent.

2. A method for generating a user management password according to claim 1, characterized in that: The character type is required to include an uppercase letter, a lowercase letter and a special character.

3. A method for generating a user management password according to claim 1, characterized in that: The ensuring that the generated password meets the conditions specifically includes: the length meets the requirements and meets the specific character type specifications.

4. A method for generating a user management password according to claim 1, characterized in that: The hash operation using the SM3 algorithm specifically includes: The common password, platform name, and fixed salt value are hashed using the SM3 algorithm.

5. A method for generating a user management password according to claim 1, characterized in that: The method of extracting the first several bytes of the hash value and generating the same random sequence specifically includes: Extract the first few bytes of the hash value as the seed of the Random object to ensure that the same random sequence is generated when the input conditions are consistent.

6. A method for generating a user management password according to claim 1, characterized in that: The type checking specifically includes: Each time you select a character, perform a type check to ensure that the selected character meets the character type requirements of the password; If the current character does not meet the requirements, skip this selection and continue to the next iteration.

Citation Information

Cited By

  • Security password generation method and device for medical equipment

    CN119885152A