def hmac_sha256_digest(key, msg):
 return hmac.new(key, msg, hashlib.sha256).digest()

def hmac_sha256_digest ( key , msg ) : return hmac . new ( key , msg , hashlib . sha256 ) . digest ( )
return the hmac-sha256 message authentication code of the message msg with key key .