Compute the SHA256 hash of all data written to this object. * * Invalidates this object. */
| 132 | * Invalidates this object. |
| 133 | */ |
| 134 | uint256 GetSHA256() { |
| 135 | uint256 result; |
| 136 | ctx.Finalize(result.begin()); |
| 137 | return result; |
| 138 | } |
| 139 | |
| 140 | /** |
| 141 | * Returns the first 64 bits from the resulting hash. |