sorry pal, the password() function is one way ticket!
it cant be undone, but you can still use them by encrypting the supplied password using the same function ie "select password'karthik')";
and then checking against entry in database.
hope you get it.