Delphi GetRandomPassword 生成随机密码


本文整理自网络,侵删。

 
function GetRandomPassword(ALen: Integer): string;
var
str: string;
begin
Randomize;
str := 'ABCDEF0123456789';
Result := '';
repeat
    Result := Result + str[Random(Length(str)) + 1];
until (Length(Result) = ALen);
end;

相关阅读 >>

Delphi xe android-uri-管理联系人uri

Delphi createmessagedialog

Delphi屏蔽指定热键

Delphi 实现打开文件定位

Delphi 能否把.txt文件的数据导入到access数据库中

Delphi代码,直截注入别的进程,之后直截运行在别的进程中的代码!

Delphi 提取字符串中所有数字

Delphi使用迅雷的开放下载引擎下载

Delphi 从流数据获知文件类型

Delphi xe 应用程序横竖屏设置

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

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

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...