logo
Search
showing results for - "putting password in a zip file using node js"
Alexander
29 Jul 2020
1var fs = require("fs");
2var Minizip = require('minizip-asm.js');
3/*
4https://www.npmjs.com/package/minizip-asm.js
5*/
6
7var text = new Buffer("HI!");
8var mz = new Minizip();
9
10mz.append("Folder/Readme.txt", text, { password: "secret" });
11fs.writeFileSync("Test.zip", new Buffer(mz.zip()));
similar questions
aes 256 file encryption node jsnode red password hash generatorforgotten password expresshow to hash password in node jsextendscript unzip filejava script zip functionjavascript password generator examplearchiver compressed file in nodejsvalidate password in nodejsbcrypt nodejs hash passwordexpressjs create encrypted passwordhow to rename zip file nodejsnpm simple zip file creatorpassword generator javascriptnode js createhashjavascript password hashinghow to generate a random salt in nodejsnode red admin password settinghow to unzip files in node js
queries leading to this page
generate zip with password using nodejsputting password in a zip file using node jsnodejs create a file with passwordsputting password in a zip file using node js
privacy policyterms of useinstagram
Crafted with  ♥  for everyone

sign in to continue
your answer for
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
sign in to continue
ask question on maxinterview
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content
please be clear, to the point and respectful
sign in to continue