mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-04 05:25:00 +00:00
Check if a rar archive is encrypted #258
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ethenski on GitHub (Nov 6, 2017).
Hi, I needed to know how to check if a rar archive is password protected or not, without actually extracting anything first.
@Megamindzzz commented on GitHub (Dec 20, 2017):
have you already solved the problem?,if you have ,i wish you told me the medthod
@coderb commented on GitHub (Dec 20, 2017):
0x80 bit flag in the archive header pre-rar5, presence of Archive Encryption Header post :-)
(haven't implemented the rar5 header yet so just going off the spec)
@ArsenyClean commented on GitHub (Jan 19, 2021):
https://stackoverflow.com/questions/44548578/identify-rars-or-zips-with-password/65793169#65793169