Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Calculating hash value from input of any length
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