- java.lang.Object
-
- io.github.mmm.crypto.CryptoConfig
-
- io.github.mmm.crypto.algorithm.CryptoAlgorithmConfig
-
- io.github.mmm.crypto.hash.HashConfig
-
- io.github.mmm.crypto.hash.sha2.Sha2
-
- io.github.mmm.crypto.hash.sha2.Sha384
-
- All Implemented Interfaces:
AbstractCryptoFactory
,AbstractGetIterationCount
,CryptoAlgorithm
,HashFactory
public class Sha384 extends Sha2
HashConfig
for SHA-384.- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
ALGORITHM_SHA_384
Thealgorithm
name "SHA-384".static Sha384
SHA_384
Sha384
using default provider.static Sha384
SHA_384_X2
Sha384
hashing twice using default provider.-
Fields inherited from class io.github.mmm.crypto.hash.HashConfig
ALGORITHM_NONE
-
Fields inherited from class io.github.mmm.crypto.algorithm.CryptoAlgorithmConfig
algorithm
-
Fields inherited from class io.github.mmm.crypto.CryptoConfig
provider
-
-
Constructor Summary
Constructors Constructor Description Sha384(int iterationCount)
The constructor.Sha384(SecurityProvider provider)
The constructor.Sha384(SecurityProvider provider, int iterationCount)
The constructor.
-
Method Summary
-
Methods inherited from class io.github.mmm.crypto.hash.HashConfig
decrementIterationCount, getIterationCount, newAccess, newHashCreator
-
Methods inherited from class io.github.mmm.crypto.algorithm.CryptoAlgorithmConfig
getAlgorithm
-
Methods inherited from class io.github.mmm.crypto.CryptoConfig
getProvider
-
-
-
-
Field Detail
-
ALGORITHM_SHA_384
public static final String ALGORITHM_SHA_384
Thealgorithm
name "SHA-384".- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Sha384
public Sha384(int iterationCount)
The constructor.- Parameters:
iterationCount
- theiteration count
.
-
Sha384
public Sha384(SecurityProvider provider)
The constructor.- Parameters:
provider
- theSecurityProvider
to use.
-
Sha384
public Sha384(SecurityProvider provider, int iterationCount)
The constructor.- Parameters:
provider
- theSecurityProvider
to use.iterationCount
- theiteration count
.
-
-