Homework 3 - Client Scripting and Encryption
Due date: July 18, 3 pm. Submit as a single e-mail to nnovotny@engineering.uiowa.edu with all attachments.
Part 1: Client-Side Scripting - JavaScript
- Visit http://javascript.internet.com and incorporate a free JavaScript example into your material handling web page from Homework 1. The age finder Javascript example located in Section 3 is an example of this. Submit the HTML.
- Write a JavaScript that uses the Math built-in object to perform a function on user-entered numbers. Refer to the client scripting slides for help and references. The square root calculator example in Section 3 is an example of this. Submit the HTML file.
Part 2: Encryption
Encryption This part of the homework involves the setting up of a secure communications facility. You will learn how to encrypt and decrypt messages using Dual Key (Public Key) encryption methods and other methods necessary for secure communications.
- You need to download PGP 8.0 from HERE (WARNING - large file - self extracting zip). Make sure that you install the correct version. PGP may be already installed on the machines in the ALF Lab.
- You need to install PGP on your machine or obtain the help of someone authorized to do this.
Note: This will create a new program group on your PC that can be seen by clicking on START - Programs - PGP. The PGP folder includes documentation, PGPkeys (to handle generation and management of keys), PGPtools (interface to PGP capabilities), PGPnet (for VPN), PGPtray - Generate a pair of keys (see the User Guide obtainable from START | Programs | PGP | Documentation). Export your public key into a *.asc file.
- Use PGP to send a secure e-mail.
Note: You will need to import the public key of peter-ogrady@engineering.uiowa.edu from HERE (this is a file PeterOGrady.asc) into your key ring. You can encrypt from Notepad or Word by clicking on the PGP icon (a padlock) in the taskbar at the right bottom of the screen, then selecting current window and then selecting encrypt. This encrypted file can then be sent as an attachment.
SUBMIT as e-mail attachments to nnovotny@engineering.uiowa.edu: 1. your public key as a *.asc file 2. the encrypted file (encrypted using the PeterOGrady.asc public key