Home >Backend Development >PHP Tutorial >mysql password函数算法?怎么通过PHP实现。

mysql password函数算法?怎么通过PHP实现。

WBOY
WBOYOriginal
2016-06-06 20:45:351231browse

怎么通过php得到mysql函数password()/old_password()生成的加密字符串。
现在我想到是执行"select password('123')"得到。
还有怎么区分16位字符串是通过old_password()生成的还是通过md5加密生成的?

回复内容:

怎么通过php得到mysql函数password()/old_password()生成的加密字符串。
现在我想到是执行"select password('123')"得到。
还有怎么区分16位字符串是通过old_password()生成的还是通过md5加密生成的?

Statement:
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