Builder.setIterations

Sets the number of requested hash iterations to be performed when computing the final {@code Hash} result. Not calling this method or setting a non-positive value (0 or less) indicates that the {@code HashService}'s default iteration configuration should be used. A positive value overrides the {@code HashService}'s configuration for a single request. <p/> Note that a {@code HashService} is free to ignore this number if it determines the number is not sufficient to meet a desired level of security. You can always check the result {@code Hash} {@link Hash#getIterations() getIterations()} method to see what the actual number of iterations was, which may or may not match this request salt.

@param iterations the number of requested hash iterations to be performed when computing the final {@code Hash} result. @return this {@code Builder} instance for method chaining. @see HashRequest#getIterations()

class Builder
setIterations

Meta