Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: compute md5-hash from file

Re: compute md5-hash from file

From: Maxim Demenko <mdemenko_at_gmail.com>
Date: Mon, 19 Mar 2007 22:49:20 +0100
Message-ID: <45FF0560.7050302@gmail.com>


Thomas Peter schrieb:
> Maxim Demenko wrote:

>> I think that will be the most straightforward workaround. I imagine to 
>> have seen a possible java implementation on asktom, but quick search 
>> didn't help - maybe you'll have more luck.

>
> i stumbled across such an implementation when i first searched for
> md5-calculation with oracle. (but unfortunately i didn't bookmarked the
> thing)
>
> do you have any experience in executing java in oracle?
> i wonder how much time the start of the vm takes. and how much slower it
> runs instead of pure pl/sql.
>
>> Alternatively, there are old (under GPL) pl sql implementations for 
>> md5/bitwise operations , maybe you'll have interest to adjust them to 
>> handle large objects...

>
> thanx for the links!
>
> cheers,
> thomas
>

Never used java extensively, but don't have a reason to suspict bad performance (at the end, the algorithm is pure math and seems to be not too complex), but you always can setup a test and compare reasonable high number of calculations with custom java implementation against dbms_obfuscation_toolkit - and then decide, whether performance is suitable for you.

Best regards

Maxim Received on Mon Mar 19 2007 - 16:49:20 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US