I can detect a archive type using libmagic or file command. But if that archive type is encrypted, i cant detect that archive is encrypted. Also I want to differentiate archive and encrypted archive. How can i do that? Do you know any tools or method to handle it ?
Any help would be appreciated.