Password security encryption storage mode

The invention belongs to the technical field of software, and particularly discloses a password security encryption storage mode which comprises the following specific steps: S1, in a database, encodePwd and Key are reserved in advance as a password storage field; s2, after a background program obta...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: SHANG DEHUA, QIU WEIKAI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention belongs to the technical field of software, and particularly discloses a password security encryption storage mode which comprises the following specific steps: S1, in a database, encodePwd and Key are reserved in advance as a password storage field; s2, after a background program obtains a password input by a user during account registration, a character string with any complex bit is randomly generated as a key, and the generated character string is stored in a key field corresponding to the database; S3, after the random key is obtained, the password input by the user is spliced with the key; s4, the spliced password is subjected to MD5 encryption, and the encrypted password is stored in an encoder Pwd field; s5, when the user requests to log in, after the background program obtains the account password input by the user, the key of the user is inquired through the user name of the user; s6, the password input by login is spliced with the key, and then MD5 encryption is performed on the splic