encryption - Check if zip or gzip is password encrypted (Node.JS) -


i've had bad time trying see if zip or gzip has password protected files. i'm used dotnetzip seeing in .net in node.js can't seem find equivalent.

i'm able see if file gzip or zip checking lead bytes not if contain encrypted files, may gpg, traditional or aes.

i've tried using packages unzip, unzip2 , adm-unzip haven't solved issues.

i'm looking pure node.js implementation.

at point, i'm considering writing own module solve issue.

i'm using https://github.com/thejoshwolfe/yauzl#isencrypted @ current moment in time if else can find can pdf's , .docx files, that'd great!


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -