encrypt-file

1.2.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i encrypt-file

Weekly Downloads

4

Version

1.2.1

License

MIT

Unpacked Size

6.96 kB

Total Files

11

Last publish

Collaborators

  • yannunes