
net.sf.mmm.crypto.hash.sha2.Sha2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mmm-crypto-jce Show documentation
Show all versions of mmm-crypto-jce Show documentation
Library for simple and more secure usage of cryptography (JCA and JCE).
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