Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> converting dbms_obfuscation_toolkit.md5 result to "conventional" md5 result
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