User can upload the file on aws with by encrypting it so that the other can not see it, when the user get the file, she/he have to use the key to decrypt it.
-
secretAccessKey
-
accessKeyId
-
region
-
bucket
-
ALGORITHM
-
ENCRYPED_EXT
-
UNENCRYPED_EXT
Used when testing:-
-
ALGORITHM = 'AES-256-CBC';
-
ENCRYPED_EXT = '.enc';
-
UNENCRYPED_EXT = '.unenc';
app.js
node aes.js encrypt *file_name* *password*
node aes.js decrypt *file_name* *password*
- Amol Saini
- RipuDaman Singh