[eluser]WanWizard[/eluser]
I never said you should use a predefined salt, I said you should use the same salt value on both encrypt calls.
And it that's no option, do the comparison in your own 'matches' method, or in your encrypt method before you hash it.
Just don't call it a Datamapper issue, which it isn't.