def generate_signature(data, secret):
    return hmac.new(six.b(secret),
                    msg=six.b(to_query(data)),
                    digestmod=hashlib.sha256).hexdigest()
Send a message to a Slack channel.
dataset/ETHPy150Open gocardless/gocardless-python/gocardless/utils.py/generate_signature--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/slack_notify.py/post_message