an idea, have the hash method prepend the salt to the output, and then add a verify method which which is aware of the salt.