MD5 Lib and other questions
[1/7] from: reboler:bol at: 27-Mar-2004 7:29
Hi Folks!,
Sorry to bother you.. ;)
1. Do you have a lib to generate MD5 from Rebol?
2. Do we have a benchmark about how much is faster.. I
mean comparing: .rsp, .r, magic, fastcgi.. all of
them with rebol (of course) ...? Which of them has the
better performance for web programming?
Best regards!!,
Thanks in advance,
--DJ
[2/7] from: g:santilli:tiscalinet:it at: 27-Mar-2004 12:32
Hi reboler,
On Saturday, March 27, 2004, 11:29:16 AM, you wrote:
r> 1. Do you have a lib to generate MD5 from Rebol?
>> checksum/method "Your data" 'MD5
== #{E4C59D4886A08FC06A4F37FACE87A26C}
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/
[3/7] from: reboler:bol at: 27-Mar-2004 11:33
Thanks Gabrielle!!
---------- In=EDcio da mensagem original -----------
De: [rebol-bounce--rebol--com]
Para: "reboler" [rebol-list--rebol--com]
Cc:
Data: Sat, 27 Mar 2004 12:32:48 +0100
Assunto: [REBOL] Re: MD5 Lib and other questions
[4/7] from: rebol-list2:seznam:cz at: 27-Mar-2004 20:18
Hello Gabriele,
Saturday, March 27, 2004, 12:32:48 PM, you wrote:
GS> Hi reboler,
GS> On Saturday, March 27, 2004, 11:29:16 AM, you wrote:
r>> 1. Do you have a lib to generate MD5 from Rebol?
>>> checksum/method "Your data" 'MD5
GS> == #{E4C59D4886A08FC06A4F37FACE87A26C}
Now just how to count MD5 on file with size like 600MB :(
--
Best regards,
rebOldes -----------------[ http://oldes.multimedia.cz/ ]
[5/7] from: greggirwin:mindspring at: 28-Mar-2004 13:55
Hi Oldes,
r> Now just how to count MD5 on file with size like 600MB :(
Worth sending RT a feedback suggestion that CHECKSUM be enhanced to
operate against files. Alternately, maybe they could add a refinement
to let us feed it in chunks.
-- Gregg
[6/7] from: robert::muench::robertmuench::de at: 30-Mar-2004 8:29
On Sat, 27 Mar 2004 20:18:29 +0100, rebOldes <[rebol-list2--seznam--cz]> wrote:
> Now just how to count MD5 on file with size like 600MB :(
Hi, I don't know anything about your use-case but if you use a MD5 to
check for errors or difference, it's normally not necessary to use the
whole file. If you take the first 100KB of each file and make a MD5 the
chances are very high to get a unique MD5. If the files are euqal for a
lot of content, than just pick serveral 100KB slices. Robert
[7/7] from: rebol-list2:seznam:cz at: 30-Mar-2004 20:41
Hello Robert,
Tuesday, March 30, 2004, 8:29:25 AM, you wrote:
RMM> On Sat, 27 Mar 2004 20:18:29 +0100, rebOldes <[rebol-list2--seznam--cz]> wrote:
>> Now just how to count MD5 on file with size like 600MB :(
RMM> Hi, I don't know anything about your use-case but if you use a MD5 to
RMM> check for errors or difference, it's normally not necessary to use the
RMM> whole file. If you take the first 100KB of each file and make a MD5 the
RMM> chances are very high to get a unique MD5. If the files are euqal for a
RMM> lot of content, than just pick serveral 100KB slices. Robert
MD5 is used to sign files that there were not modified by someone
else. If you take a look at some Linux distribution, you can see that
there are MD5 checksums of these ISO images (or other files), so you
can check if the file is not modified even if you download it from
different location (mirror).
I don't need this in Rebol (because I have another utility to count
MD5 (even on large files), I'm just pointing to a possible problem
with Rebol -> using MD5 in Rebol on large file is useless:(
--
Best regards,
rebOldes -----------------[ http://oldes.multimedia.cz/ ]