1
BigZ 2013 年 1 月 31 日
python文档里面写的很清楚
It defaults to the hashlib.md5() constructor. |
2
shiny PRO so it should be
hash_hmac("md5","data string to encrypt","key") python下的文档:http://docs.python.org/2/library/hmac.html php下的文档:http://php.net/manual/en/function.hash-hmac.php |
4
shiny PRO @enj0y
hmac.new(key[, msg[, digestmod]]) python 下的 digestmod 默认是md5的,而php下没有默认摘要算法,所以翻译过来是md5。当然指定为sha1、sha256之类都是可以的。 |
5
whtsky 2013 年 1 月 31 日
我还以为是某个逆天的工具....
|