SaltedDigest looks like it does exactly the right thing
In reply to Re^2: Storing encrypted passwords and validating by zerohero in thread Storing encrypted passwords and validating by zerohero