Sha1.Builder

public static class Sha1.Builder extends Object

Public Method Summary

Sha1
build()
T extends Builder
setRounds(int rounds)
Sets the number of rounds for the hash algorithm.

Protected Method Summary

Sha1.Builder

Inherited Method Summary

Public Methods

public Sha1 build ()

public T extends Builder setRounds (int rounds)

Sets the number of rounds for the hash algorithm.

Parameters
rounds an integer between 0 and 120000 (inclusive).
Returns
  • this builder.

Protected Methods

protected Sha1.Builder getInstance ()