File Encryption and Decryption in Node.js

Medium
14
28.2% Acceptance

In this lab, you will be learning about file encryption and decryption in Node.js using the 'crypto' module. We will be implementing two functions: 'encryptFile' and 'decryptFile'. You need to create 'encrypt.js' and 'decrypt.js' files under the 'src' folder, implement the functions, and export them.