Oracle PL/SQL 10g MD5 String

I had the need for a MD5 signiture using PL/SQL, and couldn’t find any definite answers without tedious searching (maybe I’m looking in the wrong places).

Here is how to use the DBMS_CRYPTO package to MD5 a string in 10g:

 SELECT dbms_crypto.hash(utl_raw.cast_to_raw('foobar'), 2) FROM dual;

~ by ityndall on October 15, 2010.

One Response to “Oracle PL/SQL 10g MD5 String”

  1. Good day!This was a really marvelous post!
    I come from milan, I was fortunate to discover your theme in bing
    Also I learn a lot in your topic really thanks very much i will come again

Leave a Reply