Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decrypting reader stream - start at offset / seek? #763

Open
ChocolateLoverRaj opened this issue Jan 9, 2025 · 0 comments
Open

Decrypting reader stream - start at offset / seek? #763

ChocolateLoverRaj opened this issue Jan 9, 2025 · 0 comments

Comments

@ChocolateLoverRaj
Copy link

If I have 500GB of encrypted data (encrypted with tink_streaming_aead), is it possible to continue decrypting starting at 300GB?

If not, is there any other algorithm / Rust library that lets me:

  • Encrypt / decrypt a stream chunk by chunk
  • Not have additional size per chunk, and only have an additional tag or something at the very beginning or very end?
  • Start in the middle of the stream instead of the beginning (like the Seek trait)?

Here is my use case:

  • Encrypt backup data (a diff of multiple files in one blob / S3 Object)
  • Download the backup data to restore, but handle continuing from the middle of an object if the download failed previously.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant