Get the MD5 hex-digest of the section's data.
(self)
| 1316 | return sha512(self.get_data()).hexdigest() |
| 1317 | |
| 1318 | def get_hash_md5(self): |
| 1319 | """Get the MD5 hex-digest of the section's data.""" |
| 1320 | |
| 1321 | if md5 is not None: |
| 1322 | return md5(self.get_data()).hexdigest() |
| 1323 | |
| 1324 | def entropy_H(self, data): |
| 1325 | """Calculate the entropy of a chunk of data.""" |