fork download
  1. import hmac
  2. message=b'Hello world!'
  3. key=b'secret'
  4. h=hmac.new(key,message,digestmod='MD5')
  5. print(h.hexdigest())
Success #stdin #stdout 0.11s 17396KB
stdin
Standard input is empty
stdout
444fad0d374d14369d6b595062da5d91