readium / webpub-manifest

📜 A JSON based Web Publication Manifest format used at the core of the Readium project
BSD 3-Clause "New" or "Revised" License
91 stars 23 forks source link

Remove unappropriate description of encryption.originalLength #93

Closed qnga closed 1 year ago

qnga commented 1 year ago

The Readium architecture makes encryption transparent to navigators. They request bytes ranging from 0 to the original content length that they generally request at first.

The specification used to recommend to set encryption.originalLength only if the resource was compressed. As encryption padding has variable size, it is useful to have the original length of stored resources too.