Autor Beitrag
Killmag10
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 297

Suse Linux / DOS / Windows All In One ;)
D4 / D2005
BeitragVerfasst: Sa 13.09.03 16:39 
eine frage bei den indy-kompo is ja MD5 dabei !

mein prob: wenn ich ein string encode kommt dabei nichts raus also es wird ein leerer string zurückgegeben !

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
procedure TForm1.Button1Click(Sender: TObject);
begin

edit2.Text:=md5.CodeString(edit1.Text);

end;

end.


Was mach ich falsch ?

_________________
Mega-inkompetente Computer-ruinierende Organisation spioniert ohne funktionierende Technik
UGrohne
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Veteran
Beiträge: 5502
Erhaltene Danke: 220

Windows 8 , Server 2012
D7 Pro, VS.NET 2012 (C#)
BeitragVerfasst: Sa 13.09.03 17:24 
Um das hier (nachdem es im ICQ auch schon diskutiert wurde :wink:) nochmal klar zu stellen:
CodeString ist nur die Eingabe, die Ausgabe erfolgt mit CompletedInput, also
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
procedure TForm1.Button1Click(Sender: TObject); 
begin 
  md5.CodeString(edit1.Text); 
  edit2.Text:=md5.CompletedInput();
end;
Killmag10 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 297

Suse Linux / DOS / Windows All In One ;)
D4 / D2005
BeitragVerfasst: Sa 13.09.03 17:49 
so muss er richtig aussehen !
ausblenden Delphi-Quelltext
1:
2:
3:
md5.Reset;
md5.CodeString(edit1.Text);
edit2.Text:=md5.CompletedInput;

_________________
Mega-inkompetente Computer-ruinierende Organisation spioniert ohne funktionierende Technik