#Way to check if a file is password protected
3 messages · Page 1 of 1 (latest)
It's going to depend on the file specification. I imagine each one handles encryption a little differently.
It looks like the specification for zip files lives here.
https://pkware.cachefly.net/webdocs/casestudies/APPNOTE.TXT