Question: Write a program that allows the user to enter a message, encrypts and displays the encrypted message, and then decrypts the coded message and displays

Write a program that allows the user to enter a message, encrypts and displays the encrypted message, and then decrypts the coded message and displays the result; the original message. Submit your code as text, as well as a video of your code running with all functionality tested.

Use the code below to get you started. Also, the example code

var ch = "A"; var characterNumber = ch.charCodeAt(0); // characterNumber is 65 var ch2 = String.fromCharCode( characterNumber ); // ch2 is "A"

should help you write the encrypt and decrypt functions.

     Message: 

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!