File Encryption and Decryption in Node.js

Medium
15
2
32.4% 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.