软件教程

ASP随机涵数生成可控混合密码

来源: 本站    类别: 软件教程    日期: 2015/11/1

 <%for i = 1 to 100%>
<% '100为生成的个数
Randomize
pass=""
Do While Len(pass)<8 '随机密码位数 
num1=CStr(Chr((57-48)*rnd+48)) '0~9 
num2=CStr(Chr((122-97)*rnd+97)) 'a~z 
pass=pass&num1&num2
loop 
'原创:www.cnhww.com
%>
<%=pass%><br>
<%next%>

相关文章


Copyright © 2004 - 2024 CNHWW Inc. All Rights Reserved
石家庄市征红网络科技有限公司版权所有 邮政编码:050051
服务电话:0311-85315152 13931185013 在线客服QQ:81447932 / 81447933 邮箱: cnhww@163.com