Customers log into the system and there userid and passwords are stored in a table using des encryption(DBMS_OBFUSCATION) .

We also have a web module which stores some of the customer records , but here the passwords are encrypted using md5 .

Is there anyway to compare the passwords of a customer in the two tables ?

And also if I need to load a customer to the web module I need to read the des password decrypt it and again encrypt it following md5 . Is there any way to accomplish this ?

Thanking in advance .