@classmethod
    def header(cls, message, secret=None):
        secret = secret or cls.get()
        return {cls.DIGEST_HEADER_KEY: cls._get_hex_digest(message, secret)}
Hopefully pretty robust repr equivalent.
dataset/ETHPy150Open box/ClusterRunner/app/util/secret.py/Secret.header--crossover with--dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/externals/joblib/format_stack.py/safe_repr