-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
Encryption and chunk file read #2
Comments
Sorry for bad indentation in my example code. And by the way I meant "encryption" in the title. |
@salvatorenitopi Good idea! I reckon it will allow us to process larger files without the enormous memory footprint needed currently :-) |
Multithreading added with 13079d5. Encryption will be next! |
Nice, I would use AES - CBC as encryption method (example: https://gist.github.com/forkd/168c9d74b988391e702aac5f4aa69e41 to edit according below) I would encrypt a page in this way (CFB example): Block0 -> random IV (Where x is the plaintext) Multithreading may not be possible using this method. |
Multithreading should be possible with this :-) |
Why not create a possibility for piping data into uds so that you could encrypt with any tool, which reads file in and prints encrypted output to stdout? In that way you would eliminate the need to have encryption built into the uds itself and everyone could use whatever encryption they like. |
Using uds as a backend for |
Hi, i think that this is a very smart idea, I have some possible enhancements for you:
To be more specific I would read the file in blocks long as the size of a page, then I would encrypt the block and upload it on Google documents (as a page)
A very simple example:
Let me know what you think.
The text was updated successfully, but these errors were encountered: