Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

这个地方为什么要截取md5呢 #32

Open
liuwave opened this issue Dec 31, 2018 · 0 comments
Open

这个地方为什么要截取md5呢 #32

liuwave opened this issue Dec 31, 2018 · 0 comments

Comments

@liuwave
Copy link

liuwave commented Dec 31, 2018

private function authcode($str)

/* 加密验证码 */
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位呢? 请大佬解惑,谢谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant