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

implement incremental encryption using rpgp #255

Open
fbrv opened this issue Nov 20, 2023 · 0 comments
Open

implement incremental encryption using rpgp #255

fbrv opened this issue Nov 20, 2023 · 0 comments

Comments

@fbrv
Copy link

fbrv commented Nov 20, 2023

I am currently working on a project that involves encrypting large files. Currently, I wrap a Writer struct into a buffer, and then I encrypt the entire buffer before the writer is dropped. Now, I would like to incrementally encrypt and store inside a file the buffer received to consume less memory. Ideally, the segment size should be configurable, e.g., 16/32 kB. I have searched around and did not find specific examples for achieving this using the rPGP crate. Am I missing something? I only care about the correctness of the encryption; the decryption will be performed by external tools like GPG.

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