

def _calc_hash(self):
    hasher = hashlib.md5()
    hasher.update(self.raw['text'].encode())
    self.raw['script_hash'] = hasher.hexdigest()

dataset/ETHPy150Open genzgd/Lampost-Mud/lampost/editor/scripts.py ScriptEditor._calc_hash/original