Get the SHA-256 hex-digest of the section's data.
(self)
| 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.""" |