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

# computeHash

`abstract 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 `HashSaltStyle#COLUMN` is declared to be used

Return
the hashed password