-
Notifications
You must be signed in to change notification settings - Fork 0
/
Commands
23 lines (22 loc) · 861 Bytes
/
Commands
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Installation : npm i -g imcrypt
Encryption : imcrypt -e (ImageName.format) -i (encryptedImageName.format) -p keyFile.txt
On Success :
√ Image read successfully
√ Output image file name is valid
√ Output key file name is valid
√ Image data read successfully
√ Key generated successfully
√ Image encrypted successfully
√ Image saved successfully
√ Key saved successfully
On Failure :
‼ Invalid file path Please provide a valid file path
Decryption : imcrypt -d (encryptedImageName.format) -k keyFile.txt -i (decryptedImageName.format)
On Success :
√ Image read successfully
√ Key read successfully
√ Decryption successful
√ Image saved successfully
On Failure :
‼ Invalid file path Please provide a valid file path
*** Format of the image in this process should be same across the two commands ***