import hmac
import hashlib


def make_hmac_hash(message: str, key: str) -> str:
    """Make a hash/digest/signature, HMAC + SHA256."""
    digester = hmac.new(key=key.encode("UTF-8"),
                        msg=message.encode("UTF-8"), digestmod=hashlib.sha256)
    signature = digester.hexdigest()  # hex (base16) or base64
    return signature