Can set the "encrypt filenames" of 7z? #237
Answered
by
rikyoz
Polar-Pumpkin
asked this question in
Q&A
|
I created a password-protected archive, but I found that I just needed a password for extraction, and I was still free to view the list of files. So I searched for related methods and found that 7zip supports "encrypt file names", which requires a password when opening the archive, can I do this in bit7z? |
Answered by
rikyoz
Aug 22, 2024
Replies: 1 comment 3 replies
|
I found the |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
In addition to the
setFormatPropertymethod, you might want to look at thesetPasswordmethod overload, which takes a second boolean parameter specifying whether or not to encrypt the headers.It's perhaps a cleaner way of enabling header encryption, as you don't need any knowledge of 7-Zip format properties to use it (but functionally it's equivalent to what you already did).