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 -> converting dbms_obfuscation_toolkit.md5 result to "conventional" md5 result

converting dbms_obfuscation_toolkit.md5 result to "conventional" md5 result

From: Theodore Hope <theodorehope_at_yahoo.com>
Date: 19 Jun 2002 21:40:21 -0700
Message-ID: <58a786eb.0206192040.5dfeae4e@posting.google.com>


The dbms_obfuscation_toolkit.md5 function returns a 16-character string of hex characters, and I presume that each hex character represents one of the bytes of the 128-bit hash result (16*8 = 128).

However, in all other contexts in which I've used md5 (unix command-line, PHP, perl, etc.), the "conventional" md5 result is a 32-character string of hex characters in which each pair of hex characters represents one of the bytes of the 128-bit hash result (32/2*8 = 128).

Can anyone suggest a quick way of converting between the 32-character "conventional" string of hex chars and the 16-char string that dbms_obfuscation_toolkit.md5 likes to return?

Thanks! Received on Wed Jun 19 2002 - 23:40:21 CDT

Original text of this message

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