Home > php教程 > php手册 > body text

转一个别人写的所谓加解密函数

WBOY
Release: 2016-06-06 20:12:12
Original
1131 people have browsed it

这段代码不是挺复杂,其实如果你细看是可以看得到discuz中的authcode的影子的。如果你有兴趣,你可以看看: /*加密函数内部调用函数*/???? function?keyED($txt,$encrypt_key)?{?????? ????$encrypt_key?=?md5($encrypt_key);?????? ????$ctr=0;?????? ????$

这段代码不是挺复杂,其实如果你细看是可以看得到discuz中的authcode的影子的。如果你有兴趣,你可以看看:

    /*加密函数内部调用函数*/????
    function?keyED($txt,$encrypt_key)?{??????
    ????$encrypt_key?=?md5($encrypt_key);??????
    ????$ctr=0;??????
    ????$tmp?=?"";??????
    ????for?($i=0;$i??
Copy after login

发完这个贴子的时候突然发现。我好久没有写博客了。倒不是不坚持,而是发现我实在没有什么东西好写了。一直吃老本,还能写什么?

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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template