mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-03 15:21:17 -05:00
ad5ef55b30
Encryption keeps the /ID already in the trailer and draws one from the seed only when there is none. A PDF 1.3 export draws no random bytes, so it repeats with SOURCE_DATE_EPOCH set, while PDF 1.4 and later differ between runs. Their random bytes are in the encryption dictionary and, at PDF 1.6 and later, in the AES initialization vectors.