ciphery-mickeymarse-js_challenges-digital_futures
v2.0.0
Published
Training js Fundamentals
Downloads
1
Readme
Cipher
Initialize a Node.js project
npm init -y
Install the cipher package
npm i ciphery-mickeymarse-js_challenges-digital_futures
In your index.js
file:
import cipher from 'ciphery-mickeymarse-js_challenges-digital_futures';
cipher();
Run the cipher
command followed by the appropriate flags:
-e, --encrypt
- Encrypt file-d, --decrypt
- Decrypt file
They can only accept as methods:ll
- LetterLetterCipherln
- LetterNumberCipher
-f, --file
- Path to file you want to encrypt. If you need to decrypt, make sure it has the.enc
extension.-k, --key
- Number you want to pass for theln
encryption/decryption