Get the SHA-512 hex-digest of the section's data.
(self)
| 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.""" |
| 1314 | |
| 1315 | if sha512 is not None: |
| 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.""" |