Article View: borland.public.cppbuilder.internet.socket
Article #2803TIdCoderMD5
From: 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?
Technical Details
Message-ID:
<1137479063.813065.94120@g43g2000cwa.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 11508e,a48517b1cbb6c7c4,start X-Google-Attributes: gid11508e,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mail From: "marcelo" <marcelo.dacruz@gmail.com> Newsgroups: borland.public.cppbuilder.internet.socket Subject: TIdCoderMD5 Date: 16 Jan 2006 22:24:23 -0800 Organization: http://groups.google.com Lines: 20 Message-ID: <1137479063.813065.94120@g43g2000cwa.googlegroups.com> NNTP-Posting-Host: 190.48.231.65 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1137479068 16296 127.0.0.1 (17 Jan 2006 06:24:28 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 17 Jan 2006 06:24:28 +0000 (UTC) User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: g43g2000cwa.googlegroups.com; posting-host=190.48.231.65; posting-account=2WW3Lg0AAAAJUuvpWo79clAnvCGk4Rjt