encrypt-file
v1.2.1
Published
Encrypt files nodejs
Downloads
13
Readme
encrypt-file
Simple nodejs to encrypt file
How use
npm install -g encrypt-file
Then use the cli.
Encrypt a file
You need to provide the relative path to the file you want to encrypt and the password to encrypt with.
encrypt-file ../test.txt 123456
The output file will be written in the directory you have run the command with a trailing .enc
Decrypt the file
You need to provide the relative path to the encrypted file and the password
encrypt-file ../test.txt.enc 123456
The output file will be written in the directory you have run the command without the trailing .enc