tink-rust
tink-rust copied to clipboard
Decrypting reader stream - start at offset / seek?
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
Seektrait)?
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.