PDF tobytes Changing MD5 Hash #1725
-
|
I would expect the hash of bytes resulting from tobytes would be static, but its not. Can you please explain why this happens and offer a solution for generating a static hash? output: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
This is because the |
Beta Was this translation helpful? Give feedback.
-
|
Solution summary mentioned by @JorjMcKie output as expected: |
Beta Was this translation helpful? Give feedback.
This is because the
/IDkey in the PDF trailer is recomputed on every save / tobytes based on a random generator.Try to suppress this with the appropriate save / tobytes option.