Implementing new hash algorithm

Hi,
I am trying to implement a new Hash algorithm by extending the PasswordHasher trait.
My algorithm requires salt to be passed (just like plainPassword) to PasswordHasher trait.
How can I pass salt value to PasswordHasher?

Thanks,
sai

Hi,

the idea was that the password hasher created the salt and stores it in the PasswordInfo class.

Best regards,
Christian