A function that generates a random password

xiaoxiao2021-03-06  107

TMP = "0123456789abcdefghijklmnopqrstopwxyz" TMPPWD = ROUNDSTR (TMP, 8)

Function RoundStr (STR, NUM) S = "" for i = 1 to Num

Randomize

Strlen = LEN (STR) T = ROUND ((rND * (strllen-1)) 1) s = s & mid (Str, T, 1) Next RoundStr = Send Function

转载请注明原文地址:https://www.9cbs.com/read-102691.html

New Post(0)