JavaScript Kit Encrypted Password Generator

JavaScript may not be the best way to password-protect a webpage, but for those who do not have access to a CGI-BIN, it may very well be the only way. To provide these people with a decent JavaScript password protector that will keep out at least the average surfer, I've created this encrypted password generator. This program dynamically encrypts the password to a page (differently each time) before saving it, making it a LOT harder for foul-minded users to break in. It differs from other "good" password scripts, such as Gate Keeper, in the following two areas:

The program is similar to Gatekeeper, however, in that the file you are protecting must be renamed to match the password you have chosen for it.

Note: This program dynamically encrypts the password specified, so each time you use the program, the resulting output will be different, even for the same password. An added cushion of security!

Example:

Directions

1.gif (1378 bytes) Select and enter a password you wish be used to protect the target web page (Password must be less than 10 characters, consisting of only alpha-numeric keys):

2.gif (1417 bytes) Rename the protected page's name to match the password you have chosen above. For example, if you had chosen "toyota" as the password to protect the file called "myweb.htm", rename "myweb.htm" to "toyota.htm"

You are now ready to generate the code required to password protect "toyota.htm"!