最简单的密码加密程序:
procedure TForm1.Button1Click(Sender: TObject);
var
IniStr,TarStr : String;
I : Integer;
begin
IniStr := 'sSF34%esSDF23234@#$DSFsdf234fdWER@#$dtyiuOIUDCB';
TarStr := IniStr;
for I := 1 to Length(IniStr) do
TarStr := Chr(Ord(IniStr)+33 );
//加密后的字符串:攖gTUF啍tegSTSTUaDEetg攨嘢TU噮xfsaDE厱殜杙jvedc
end;