Hashing Password On Form When Not Blank
In the Process Record Values event of the Edit page (Add page not necessary because the field will already be blank).
values["ConduitPassword"] = "";
Then in the Before Record Added/Updated events on the add and edit pages.
if (string.IsNullOrWhiteSpace(values["ConduitPassword"]))
{
values.Remove("ConduitPassword");
} else {
var md5CryptoServiceProvider = new System.Security.Cryptography.MD5CryptoServiceProvider();
var password = (string)values["ConduitPassword"];
values["ConduitPassword"] = Convert.ToBase64String(md5CryptoServiceProvider.ComputeHash(System.Text.Encoding.ASCII.GetBytes(password)));
}