If you need to reverse the encryption.
SQL goes here to get information
$row = mysql_fetch_array($sql);
$temp = "".$row["fieldname"]."";
$content = md5($temp);
From here, you can populate a form using the variable $content:
<input type=text name=content value=$content size=40>
or
UPDATE tablename SET using $content variable.