Created
March 30, 2017 04:49
-
-
Save chocotan/e9d975bab3452eeb28910962994b7bb8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$data="这里是请求内容"; | |
$key="这里是key"; | |
$data_digest = base64_encode(md5($data+$key, TRUE)); | |
echo $data_digest; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment