Skip to content

Uploading files to aws with encryption and compression using the key from the user, also code od description is available here

Notifications You must be signed in to change notification settings

ripu502/Encrypt-Files

Repository files navigation

Encrypt-Files

Description

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.

Environment Variable

  • secretAccessKey

  • accessKeyId

  • region

  • bucket

  • ALGORITHM

  • ENCRYPED_EXT

  • UNENCRYPED_EXT

    Used when testing:-

  • ALGORITHM = 'AES-256-CBC';

  • ENCRYPED_EXT = '.enc';

  • UNENCRYPED_EXT = '.unenc';

Main File

app.js

Get the Postman Collection

Run in Postman

CMD FUN

node aes.js encrypt *file_name* *password*
node aes.js decrypt *file_name* *password*

Contributor

  • Amol Saini
  • RipuDaman Singh

About

Uploading files to aws with encryption and compression using the key from the user, also code od description is available here

Topics

Resources

Stars

Watchers

Forks