import hmac message=b'hello,world' key=b'secret' h=hmac.new(key,message,digestmod='Md5') h.hexdigest() '5848a9dba4e9a6168887b0ee6cd03b69'
import hmac message=b'hello,world' key=b'secret' h=hmac.new(key,message,digestmod='Md5') h.hexdigest() '5848a9dba4e9a6168887b0ee6cd03b69'