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

# setNonces

`open fun setNonces(nonces: JsonArray): JDBCAuth`

Provide a application configuration level on hash nonce's as a ordered list of nonces where each position corresponds to a version. The nonces are supposed not to be stored in the underlying jdbc storage but to be provided as a application configuration. The idea is to add one extra variable to the hash function in order to make breaking the passwords using rainbow tables or precomputed hashes harder. Leaving the attacker only with the brute force approach. The implementation relays to the JDBCHashStrategy provided.

### Parameters

`nonces` - a List of non null Strings.

Return
a reference to this for fluency