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

Method get_hash_sha256

pythonmemorymodule/pefile.py:1306–1310  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

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."""
1308
1309 if sha256 is not None:
1310 return sha256(self.get_data()).hexdigest()
1311
1312 def get_hash_sha512(self):
1313 """Get the SHA-512 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