Thread View: borland.public.cppbuilder.internet.socket
1 messages
1 total messages
Started by marcelo
Tue, 17 Jan 2006 06:24
TIdCoderMD5
Author: marcelo
Date: Tue, 17 Jan 2006 06:24
Date: Tue, 17 Jan 2006 06:24
19 lines
1812 bytes
1812 bytes
Hi!
I'm using TIdCoderMD5 in delphi 6 (...ant the Indy version that comes
bundled with that delphi version...) I'm having problems using this
class, since it seems that the output of the function isn't ok.
This is my code:
IdCoderMD5.Reset;
IdCoderMD5.AutoCompleteInput:=true;
output:=IdCoderMD5.CodeString(tocode);
Fetch(output,';');
After this, I use BinToHex to convert the binary value to an
hexadecimal string, but the output doesn't match other programs output.
The strange thing is that when a code an empty string, I get the
correct output... but when I code something not empty, the output is
wrong..
Any ideas?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads