MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / get_hash_sha1

Method get_hash_sha1

pythonmemorymodule/pefile.py:1300–1304  ·  view source on GitHub ↗

Get the SHA-1 hex-digest of the section's data.

(self)

Source from the content-addressed store, hash-verified

1298 return self.entropy_H(self.get_data())
1299
1300 def get_hash_sha1(self):
1301 """Get the SHA-1 hex-digest of the section's data."""
1302
1303 if sha1 is not None:
1304 return sha1(self.get_data()).hexdigest()
1305
1306 def get_hash_sha256(self):
1307 """Get the SHA-256 hex-digest of the section's data."""

Callers 2

dump_infoMethod · 0.80
dump_dictMethod · 0.80

Calls 1

get_dataMethod · 0.95

Tested by

no test coverage detected