r-lib / zip

Platform independent zip compression via miniz
https://r-lib.github.io/zip/
Other
83 stars 20 forks source link

zip with password #38

Open alliesaizan opened 5 years ago

alliesaizan commented 5 years ago

Hello,

I would like to compress a file with a password in R. Could this functionality be added to the zip or zipr function?

Thanks!

gaborcsardi commented 5 years ago

Possibly, yes. I'll need to look around a bit to see what exactly is supported by other zip programs, so that we are compatible with them.

alliesaizan commented 4 years ago

Thank you! Looking forward to hearing what you find.

Matherion commented 4 years ago

Yes, this would be awesome! This would be great for ethical data sharing (i.e. respecting participants' privacy and sharing as much data as possible). Implementation of 256-bit AES encryption would allow anonymization and preservation of raw data to be handled programmatically. That could really help people to share their data. (... And there are loads of other reasons why being able to encrypt stuff would be brilliant, of course :-))