thinkphp 验证码类库
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
liuwave opened this issue 5 years ago · comments
think-captcha/src/Captcha.php
Line 314 in 54c8a51
/* 加密验证码 */ private function authcode($str) { $key = substr(md5($this->seKey), 5, 8); $str = substr(md5($str), 8, 10); return md5($key . $str); }
为什么要截取6-14位和 9-18位呢? 请大佬解惑,谢谢。