I guess a moderatorâs job is to be a little harsh when necessary. This is not a
JS forum however VBScript has everything to do with ASP. If this post was in the pro section I would agree, however....
Anyway, I wouldnât suggest
JS. This is a client side language, your algorithm would be in the source for all to see and crack (may as well not bother with the log in)
---------------------cut n paste start----------------
<%
'generate an 8 char random password
For intCounter = 1 To 8
Randomize
intDecimal = Int((26 * Rnd) + 1) + 64
'build Password String
strPassword = strPassword & Chr(intDecimal)
Next
Response.Write "Random Password = " & strPassword
%>
---------------------cut n paste finish----------------
Wind is your friend
Matt