1.0.0 • Published 6 years ago
jc-cipher v1.0.0
jc-cipher
jc-cipher
is a simple tool to encode and decode your file with your own password.
Installation
npm install -g jc-cipher
Usage
encoding file
jc-cipher encode <path-to-file> <key>
Note: jc-cipher
don't save your key, so make sure you remember it or back it up some where for the decoding later.
The output will be localed in the same directory with the path-to-file
with suffix .encoded
For example:
- input:
~./binh.txt
- output:
~./binh.txt.encoded
decoding file
jc-cipher decode <path-to-encoded-file> <key>
The output will be localed in the same directory with the path-to-encoded-file
with suffix .decoded
For example:
- input:
~./binh.txt.encoded
- output:
~./binh.txt.encoded.decoded
Contributors
Contributing
- Fork https://github.com/CQBinh/jc-cipher
- Create your feature branch (
git checkout -b my-awesome-feature
) - Commit your changes (
git commit -m 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new pull request with a description of your changes
License
The gem is available as open source under the terms of the MIT License.
1.0.0
6 years ago