Home > Backend Development > PHP Tutorial > discuz密码加密的有关问题

discuz密码加密的有关问题

WBOY
Release: 2016-06-13 13:04:59
Original
857 people have browsed it

discuz密码加密的问题
小弟遇到这个问题。在服务器上运行的discuz论坛,用户名是honolulu和密码wanziliang,在数据库中加密后的密码是f38f085c1b938f2edbdd66de2f73e709 salt的值是9b4069

现在我在自己的电脑上开发,需要用到现有的数据库。我把服务器上的数据导入到自己的电脑上,依然用honolulu和密码wanziliang, 依然使用salt的值是9b4069 但加密后却的值是5c0bdee70304fcc720f66adad7204e37, 和数据库不一致,是怎么回事?

附上discuz加密的算法:md5(md5($password).$user['salt'])

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template