def get_jids():
    ret = {}
    for jid, job, _, _ in _walk_through(_job_dir()):
        ret[jid] = salt.utils.jid.format_jid_instance(jid, job)

        if __opts__.get('job_cache_store_endtime'):
            endtime = get_endtime(jid)
            if endtime:
                ret[jid]['EndTime'] = endtime

    return ret
32-character hash is assumed to be MD5
dataset/ETHPy150Open saltstack/salt/salt/returners/local_cache.py/get_jids--crossover with--dataset/ETHPy150Open CybOXProject/python-cybox/cybox/test/common/hash_test.py/TestHash.test_autotype_md5