-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hash of identical files #1732
Comments
Thanks for your issue. We've been using the |
@xuri I've created a pull request for this issue, the internal part path has been sorted so that the output file would be identical. |
This feature is HUGE. Thanks for including this. We publish Excel sheets from a process that starts with blockchain data (that, as you probably know) is hashed data. Until now, we would arrive all the way at the end of a lengthy data extraction pipeline that preserves the "hashed data nature" of the blockchain data, but when we wrote to Excel using your library, it would destroy that preserved nature of the hashable data. We do all this so we can store the Excel file on IPFS which is a hash-based, content addressable storage medium. Our pipeline can now produce perfectly auditable and re-procucible data all the way from the blockchain into an Excel spreadsheet. SUPER useful. THanks. |
Saving workbook with reverse sorted internal part path to keep same hash of identical files
This closes qax-os#1889, refs qax-os#1732 and qax-os#1735 (qax-os#1890)
Hello excelize team,
I am currently working with the excelize library and have encountered a scenario where I need to generate Excel files that are identical in every respect, such that their SHA256 hashes would also be identical. However, I've observed that even when creating new files with the same content and structure, the resulting SHA256 hashes are different for each file.
This leads me to wonder whether excelize adds any unique metadata or data (such as timestamps or unique identifiers) to each file during creation, which might be causing this discrepancy in hashes.
Could you please provide some insights on the following:
The text was updated successfully, but these errors were encountered: