Discuz Forum Password and secret encryption rules

Source: Internet
Author: User
Discuz Password Encryption rules:

MD5 (MD5 (' string '). ' Fixed word string ');

Fixed strings are randomly generated at the time of registering the user, and are saved in the Salt field of the data table pre_ucenter_members.

For example: If the password is 123456789 and the fixed string is jb51, then the encryption rule is: MD5 (MD5 (' 123456789 '). Jb51 '); The result is: 96122FF0DD306C912AAB15ADCCF21DF1

Discuz Secret Encryption Rules:

The encryption process is value first encrypted once, such as my question is "the last four digits of the driver's license" value is 7,7 MD5 for 8f14e45fceea167a5a36dedd4bea2543, I Answer "1v1.name", This puts 1v1.name and the value of 7 MD5 together, that is, "1v1.name8f14e45fceea167a5a36dedd4bea2543" after the encryption MD5 value is "f5d8e00a4ebc9ead4611c04706ae05fd "Then take the 17th to 24th bit of the 8-digit password" 4611c047 "4611c047 is the password in the database.

Be sure to check the value of each secret-protection problem in the source code during this process.

The above is a small series to introduce you to the Discuz forum password and secret encryption rules, I hope that everyone has a help, if you have any questions please give me a message, small series will promptly reply to you. Thank you very much for your support for topic.alibabacloud.com!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.