User password encryption method based on improved MD5 encryption algorithm

A technology of user password and encryption method, applied in the field of user password encryption based on improved MD5 encryption algorithm, can solve problems such as MD5 security threats, and achieve the goal of increasing randomness and collision resistance, resisting exhaustive attacks and improving security. Effect

Active Publication Date: 2020-03-31
LIAONING TECHNICAL UNIVERSITY
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The MD5 algorithm is irreversible and unique, but because the length of the MD5 message digest is only 128 bits, the collision phenomenon will inevitably occur when the file size gradually increases, and the attacker can always find a group in a short time by using a hash collision attack. Or multiple groups of plaintext make the MD5 message digest value equal, MD5 security is threatened

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • User password encryption method based on improved MD5 encryption algorithm
  • User password encryption method based on improved MD5 encryption algorithm
  • User password encryption method based on improved MD5 encryption algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0019] In this embodiment, a user password encryption method based on the improved MD5 encryption algorithm, such as figure 1 shown, including the following steps:

[0020] Step 1: The user enters a password when registering, and encrypts the password through the MD5 algorithm to obtain encrypted data Q;

[0021] The basic principle of MD5 is to group data information of limited length in units of 512 bits, and then divide each group into 16 32-bit sub-groups. The hash value is used as the information digest, and the principle of the MD5 encryption algorithm is as follows: figure 2 As shown, the specific steps are as follows:

[0022] Step1: Fill information; group by...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a user password encryption method based on an improved MD5 encryption algorithm, and relates to the technical field of information security. The method comprises the following steps: firstly, encrypting a password input by a user during registration through an MD5 algorithm to obtain the initial encrypted data, generating a random number through an elliptic curve, sending the random number to a pseudo-random number generator, generating a random character string by the elliptic curve and the pseudo-random number generator, performing bitwise exclusive OR on the random character string and the encrypted data generated by an MD5 algorithm to generate new encrypted data as a message abstract, and storing the new encrypted data in a database. And when the user logs in again, the input password is encrypted, and the encrypted ciphertext is compared with the ciphertext stored in the database for verification. According to the method, based on the improved MD5 encryption algorithm, the random character string is added after the original MD5 algorithm is operated to perform exclusive OR operation, so that the randomness and the collision resistance of the algorithm are improved, the security of the algorithm is improved, and exhaustion attack, birthday attack and differential attack can be effectively resisted.

Description

technical field [0001] The invention relates to the technical field of information security, in particular to a user password encryption method based on an improved MD5 encryption algorithm. Background technique [0002] With the development of computer and Internet technology, a large number of websites and APP services require users to register, and users need to set passwords at the same time of registration; user passwords play a very good role in protecting user-related information. However, in recent years, many companies have experienced user information leakage incidents, and the leaked data is not encrypted or the encryption method is relatively weak, so that hackers can restore the original user password. At least hundreds of information leakage incidents have been exposed so far, including a number of first-line Internet companies, with a total of more than 1 billion pieces of data leaked. [0003] The MD5 encryption algorithm is widely used in important fields s...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L9/30H04L9/08H04L9/06
CPCH04L9/0643H04L9/0861H04L9/0869H04L9/3066Y02D30/50
Inventor 陈虹张子浩刘雨朦
Owner LIAONING TECHNICAL UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products