def hash(self):
<EOL>content = json.dumps(self.data, sort_keys=True, separators=("<STR_LIT:U+002C>", "<STR_LIT::>"))<EOL>hexdigest = hashlib.sha256(content.encode("<STR_LIT:utf8>")).hexdigest()<EOL>_LOGGER.debug("<STR_LIT>", content, hexdigest)<EOL>return {"<STR_LIT>": hexdigest}<EOL>
Compute hash of Pipifile.