vertx / io.vertx.rxjava.ext.auth.jdbc / JDBCAuth / computeHash

# computeHash

`open fun computeHash(password: String, salt: String): String`

Compute the hashed password given the unhashed password and the salt without nonce The implementation relays to the JDBCHashStrategy provided.

### Parameters

`password` - the unhashed password

`salt` - the salt

Return
the hashed password

`open fun computeHash(password: String, salt: String, version: Int): String`

Compute the hashed password given the unhashed password and the salt The implementation relays to the JDBCHashStrategy provided.

### Parameters

`password` - the unhashed password

`salt` - the salt

`version` - the nonce version to use

Return
the hashed password