|
Java and JavaScript are, despite the similar names, very different
languages. For one, JavaScript is a low-power scripting language used
frequently for Web page graphics enhancements. Java is a high-power
language used by Webmasters and system programmers alike.
In this two-part program, you will deal with the JavaScript-Java
interactivity application. This page is part one: you will encrypt a
phrase using a simple one-way encryption algorithm. The text is
retrieved in JavaScript, and sent to the Java applet for encryption.
The encrypted text is returned to the JavaScript for display.
|