Description
This PR enables decrypting encrypted streams from any byte position instead of requiring decryption from the beginning. The implementation adjusts the AES-CTR initialization vector based on the block number and skips intra-block bytes to align the decipher with the requested offset.
Related Issues
Related Pull Requests
Checklist
- Changes have been tested locally.
- Unit tests have been written or updated as necessary.
- The code adheres to the repository's coding standards.
- Relevant documentation has been added or updated.
- No new warnings or errors have been introduced.
- SonarCloud issues have been reviewed and addressed.
- QA Passed
Testing Process
Additional Notes
This approach is based on the existing CLI implementation.