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

net.sf.mmm.crypto.hash.sha2.Sha2 Maven / Gradle / Ivy

The newest version!
package net.sf.mmm.crypto.hash.sha2;

import net.sf.mmm.crypto.hash.HashConfig;
import net.sf.mmm.crypto.provider.SecurityProvider;

/**
 * {@link HashConfig} for SHA-2. It is actually a family of
 * algorithms such as {@link Sha256 SHA-256} or {@link Sha512 SHA-512}.
 *
 * @since 1.0.0
 */
public abstract class Sha2 extends HashConfig {

  /**
   * The constructor.
   *
   * @param algorithm the {@link java.security.MessageDigest#getAlgorithm() hash algorithm}.
   * @param provider the {@link SecurityProvider}.
   * @param iterationCount the {@link #getIterationCount() iteration count}.
   */
  Sha2(String algorithm, SecurityProvider provider, int iterationCount) {

    super(algorithm, provider, iterationCount);
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy