Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started