Question: Augment your cipher.html page so that it can both encode and decode messages. You will need to define a new function named Decode, which decodes

Augment your cipher.html page so that it can both encode and decode messages. You will need to define a new function named Decode, which decodes the message in the text area using the entered cipher key. You should also add a second button labeled "Decode the message" that calls this new function when it is clicked.

Once you have done this, test the page by decoding the messages you encoded in Exercise 15.13.

As an additional test, decode the following message using the Mystery cipher defined in a previous section:

Egfukqzxsqzogfl - ngx rtegrtr zit dtllqut!

Step by Step Solution

3.55 Rating (165 Votes )

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

Document Format (1 attachment)

Word file Icon

1409-C-S-O-S(1126).docx

120 KBs Word File

Students Have Also Explored These Related Operating System Questions!