Password Sync Method Improvement

I'm working on syncing passwords between my own database and FoxyCart to prepare for SSO. I'm glad to see the method for sha256_salted_suffix, but if you are using only password and salt, two people that have the same password will end up with the same hash. A way to prevent this is to include the creation timestamp somewhere in there which makes duplicate passwords near impossible to happen. So, in the end, every single hash will be different no matter what, even if all passwords will be the same.

Is there a way to add this functionality to the existing method (make it an optional parameter)? Or perhaps add a way to make a custom method?
Comments
Sign In or Register to comment.