All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.mmm.crypto.random.RandomConfigSha1Prng Maven / Gradle / Ivy

package io.github.mmm.crypto.random;

/**
 * {@link RandomConfig} for SHA1PRNG.
 *
 * @author Joerg Hohwiller (hohwille at users.sourceforge.net)
 * @since 1.0.0
 */
public class RandomConfigSha1Prng extends RandomConfig {

  /** The {@link #getAlgorithm() algorithm} name {@value}. */
  public static final String ALGORITHM_SHA1PRNG = "SHA1PRNG";

  /** Simple singleton instance. */
  public static final RandomConfigSha1Prng SHA1PRNG = new RandomConfigSha1Prng();

  /**
   * The constructor.
   */
  public RandomConfigSha1Prng() {

    super(ALGORITHM_SHA1PRNG);
  }

  /**
   * The constructor.
   *
   * @param reseedCount the {@link #getReseedCount() re-seed count}.
   */
  public RandomConfigSha1Prng(int reseedCount) {

    super(ALGORITHM_SHA1PRNG, reseedCount);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy