random password

This post is also available in: Dutch

If you need another password for one of those websites, it’s kind of hard to trust yourself, being human. Everybody has their own preference for particular letters /numbers (or numbers / letters), so it’s better to let your computer do the computing of a nice, random password, like the one that was just produced for you at the top right of the screen, under “random password”. You can have your webserver generate a new random password automatically upon every page refresh, using the following code:

<!– ONE STEP TO INSTALL RANDOM PASSWORD GENERATOR:
1. Copy the coding into the BODY of your HTML document –>
<!– STEP ONE: Paste this code into the BODY of your HTML document –>
<BODY>
<SCRIPT LANGUAGE=”JavaScript”>
<!– Begin
function randomPassword(length)
{
chars = “abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890”;
pass = “”;
for(x=0;x“);
document.write(randomPassword(16));
</script>