import hashlib
import json


def build_tool_hash(as_dict):
    # http://stackoverflow.com/a/22003440
    as_str = json.dumps(as_dict, sort_keys=True)

    m = hashlib.sha256()
    m.update(as_str)
    hash = m.hexdigest()
    return hash

4bfe395665805cc77e02f2a87a353f41994905cb
<mask token>

<mask token>


def build_tool_hash(as_dict):
    as_str = json.dumps(as_dict, sort_keys=True)
    m = hashlib.sha256()
    m.update(as_str)
    hash = m.hexdigest()
    return hash

import hashlib
import json


def build_tool_hash(as_dict):
    as_str = json.dumps(as_dict, sort_keys=True)
    m = hashlib.sha256()
    m.update(as_str)
    hash = m.hexdigest()
    return hash

import hashlib
import json


def build_tool_hash(as_dict):
    # http://stackoverflow.com/a/22003440
    as_str = json.dumps(as_dict, sort_keys=True)

    m = hashlib.sha256()
    m.update(as_str)
    hash = m.hexdigest()
    return hash
