Currently it is infeasible to specify the file offset at which decryption should start. This is because we assume blocks can be of any size, so there's no way to seek within the file and confidently know which block we've found.
We could instead provide an encryption format that fixes the block size, and a corresponding routine that calculates positions in the encrypted stream based on the desired position in the output stream.
Currently it is infeasible to specify the file offset at which decryption should start. This is because we assume blocks can be of any size, so there's no way to seek within the file and confidently know which block we've found.
We could instead provide an encryption format that fixes the block size, and a corresponding routine that calculates positions in the encrypted stream based on the desired position in the output stream.