HackerTrans
トップ新着トレンドコメント過去質問紹介求人

napzoom

no profile record

投稿

Show HN: Why Two Identical PDFs Have Different SHA-256 Hashes (How We Fixed It)

docs.pdfcanon.com
1 ポイント·投稿者 napzoom·2 か月前·4 コメント

コメント

napzoom
·2 か月前·議論
[dead]
napzoom
·2 か月前·議論
That's exactly the point - from the spec's perspective they aren't identical, but from every user's perspective they are. Same pages, same text, same rendering. The interesting question is whose definition of "identical" should govern when you're building audit trails or deduplication systems.
napzoom
·2 か月前·議論
I'm the author. The post covers the seven sources of non-determinism in the spec. The one that surprised me most in practice: about half the tools I tested regenerate the /ID array on every save, even when the spec says it should be stable. Happy to dig into any of the pipeline stages or the qpdf invocation sequence if useful.