Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Modern Database Management

Authors: Donald A. Carpenter Fred R. McFadden

1st Edition

8178088045, 978-8178088044

More Books

Students also viewed these Databases questions

Question

LO2 Explain the major laws governing employee compensation.

Answered: 1 week ago