python md5 sign test


Import
hashlib # API test to check the parameter as alphabetical order, and then splicing clientid = 123456 & num = xxxx & status = 1 & timestamp = 1573197760 plus secret value and then MD5 m = hashlib.md5 () m.update (B ' ClientID = 123456 & NUM = XXXX & Status = timestamp = &-15731977602990ff1e. 1 adt6-452c-B12a-13942f28haba ' )
B
= m.hexdigest ()
Print (B)

print the value: be2bf150ae3879a91a20353a770b8b6e


MD5 encrypted online address:
https://md5jiami.51240.com/

 

Guess you like

Origin www.cnblogs.com/lxs1314/p/11821108.html