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.
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.