如何做一个随机密码产生器?

2023-12-05 0 661

<%genPassword = \”\”RandomizeFor i = 1 to 8intNum = Int(10 * Rnd + 48)intUpper = Int(26 * Rnd + 65)intLower = Int(26 * Rnd + 97)intRand = Int(3 * Rnd + 1)Select Case intRandCase 1strPartPass = Chr(intNum)Case 2strPartPass = Chr(intUpper)Case 3strPartPass = Chr(intLower)End SelectgenPassword = genPassword & strPartPassNextresponse.write(genPassword & \”<br>\”)%>\’ 显示浏览器表头信息和服务器变量<%For Each name In Request.ServerVariablesResponse.write(\”<b>\”&name&\”</b>:<br>\”)Response.write(Request.ServerVariables(name))Next%>

[1]

收藏 (0) 打赏

感谢您的支持,我会继续努力的!

打开微信/支付宝扫一扫,即可进行扫码打赏哦,分享从这里开始,精彩与您同在
点赞 (0)

悠久资源 编程10000问 如何做一个随机密码产生器? https://www.u-9.cn/biancheng/bc10000/96019.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务