程序代碼
<%
function genPassWord(length)
Randomize
do until len(newPass) = length
code = Int((74 * Rnd) + 48)
if not((code >= 58 and code <= 64) or (code >= 91 and code <= 96)) then
newPass = newPass & chr(code)
end if
loop
genPassWord = newPass
end function
response.write genpassWord(512)
%>