加签验签思路

一、加签 1、将报文内容+时间戳(timestamp)+随机字符串(nonce)+appid进行sha256加密,得到签名$sign $sign = hash('sha256', body=string&timestamp=time()&nonce=asdasd&appid=sadasdw) 2、将
posted @ 2022-07-15 17:18  风哀伤  阅读(448)  评论(0编辑  收藏  举报