dyz1990 / sevenz-rust

A 7z decompressor/compressor lib written in pure rust
Apache License 2.0
146 stars 24 forks source link

Encrypt file names, hide the directory structure #55

Closed VictorieeMan closed 3 months ago

VictorieeMan commented 5 months ago

Is there a way to encrypt the header so that the file structure is hidden? The 7z GUI provides this option for this called "Encrypt file names" but more precisely it's about encrypting the header of the archive. On the cli one can do this: -mhe=on

7z a -p -mhe=on archive.7z file_to_compress

ref. using-7z-command-line-with-aes-256

VictorieeMan commented 3 months ago

nice :)