vertx / io.vertx.reactivex.ext.auth.mongo / HashStrategy / computeHash

computeHash

open fun computeHash(password: String, user: User): String

Compute the hashed password given the unhashed password and the user

Parameters

password - the unhashed password

user - the user to get the salt for. This paramter is needed, if the is declared to be used

Return
the hashed password