2023-11-08

Random Password Generator

JavaScript Version

You are really a lot better off using the JavaScript version of the password generator. It avoids the complications of running Java in a web browser, and it's faster. The JavaScript code has also been packaged as an iPhone web app.

Java Version

The button below is displayed by a small applet. Clicking it downloads and runs a large class. Randomness in this implementation comes from the constructor for the Java class Random().

With the most recent Java update, the applet won't run unless you go through some extra steps. In Firefox, I see a banner that asks if I want the applet to run. If I click "allow," I get a dialog box that asks if I want to allow the applet to run once, or to remember. If I then click "once," I get a dialog that says "Application blockd by Security Settings" and the web page shows "Error. Click for details." That brings up a box that says "Application Blocked. Click for details," and clicking "Details" brings up an empty Java Console. I got mail from a user who says I have to sign the applet, but I haven't done this yet.. Meantime, try the JavaScript version.

You need Java to see this output.

To copy the binaries, just click on Gpw.class GpwData.class GpwDataInit1.class GpwDataInit2.class and GpwWindow.class

You are welcome to use the Java source of the password generator, if you