Skip to content

midyan/encrypt-file

Repository files navigation

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 enc ../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 dec ../test.txt.enc 123456

The output file will be written in the directory you have run the command without the trailing .enc

About

Simple nodejs to encrypt file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published