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

Home -> Community -> Usenet -> c.d.o.server -> Re: Calculating hash value from input of any length

Re: Calculating hash value from input of any length

From: Karsten Farrell <kfarrell_at_belgariad.com>
Date: Thu, 23 Jan 2003 23:41:26 GMT
Message-ID: <G4%X9.782$Sh1.43841699@newssvr15.news.prodigy.com>


Alexander Miroshnikov wrote:
> Hi,
>
> I am looking for PLSQL implementation of MD5 algorithm that would work on
> input of any length, and not just on one varchar2 input string (as
> dbms_obfuscation_toolkit implementation does).
>
> I need something like this -
>
> create or replace package MD5 as
> procedure initialise;
> -- procedure initialise resets MD5 calculation
> procedure datainput( value varchar2 );
> -- procedure datainput reads piecees of input data
> function MD5digest return varchar2(16);
> -- function MD5digest returns MD5 digest calculated for input data
> end;
> /
>
> Can anyone give me some help with writing it?
>
> Many Thanks,
> Alex
>
>

You might start your search here (which I found by typing 'oracle md5 "pl/sql"' in Google):

http://www.gt.ed.net/keith/plsql/ Received on Thu Jan 23 2003 - 17:41:26 CST

Original text of this message

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