Autor Beitrag
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: So 10.04.05 14:38 
hallo, ich habe ein problem, jemand hat auf meiner hp sein passwort vergessen, welches md5 codiert in der datenbank vorliegt, dieses habe ich erstmal gelöscht und möchte ein neues eintragen, jedoch kommen bei meiner md5 verschlüsselung alle möglichen ascii zeichen vor, in der db sind allerdings nur zahlen und buchstaben :?

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
procedure TForm1.Button1Click(Sender: TObject);
begin
  IdCoderMD51.reset;
  IdCoderMD51.CodeString(Edit1.Text);
  Edit2.text:= IdCoderMD51.CompletedInput;
end;


ich habe pass versucht zu kodieren, raus kam:

ausblenden Quelltext
1:
0;;=5ªaÊ„çAzukÿ1					


und in der db stand danach:

ausblenden Quelltext
1:
b8e535db4460ffd8c30c52ba208fc58d					


aber das passwort "pass" funktioniert net !?

als ichs in der datenbank direkt verschlüsselt hatte, ging es !?
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: So 10.04.05 15:51 
Hey, ich weiß nicht welches md5 Script du nimmst, aber probier mal das im Anhang bei mir. Damit klappt es bei mir immer.

mfg matze

_________________
si tacuisses, philosophus mansisses.
F34r0fTh3D4rk Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: So 10.04.05 15:55 
ich nehme die indy komponente :lol: