Encryption-and-Decryption-using-Totaljs

  1. Accepts either a Phone Number or Email through Command-line Input
  2. Encrypts the data and creates a URL which can be sent to USER
  3. Decryption module takes the URL in the command line and displays the value after decryption.
  4. Salt and URL are provided in separate files and can be changed.

This module uses F.encrypt and F.decrypt methods in TotalJS for Encryption and Decryption.

To RUN: use the command - node generateURL.mjs in the command line