zip-rs / zip-old

Zip implementation in Rust
MIT License
731 stars 204 forks source link

Added function to get if a file is encrypted or not #368

Closed reduf closed 5 months ago

reduf commented 1 year ago

Hi,

the reason why this is useful is that file can be encrypted or not and sometime you may only want to ask for the password for files that are encrypted, but work without for non-encrypted files. Being able to know if the file is encrypted is very useful for that.

Pr0methean commented 5 months ago

Replaced with https://github.com/zip-rs/zip2/pull/64.