-
- All Superinterfaces:
AbstractCryptoFactory
,RandomConstants
- All Known Implementing Classes:
RandomFactoryImpl
public interface RandomFactory extends AbstractCryptoFactory, RandomConstants
Interface for afactory
tocreate
instances ofRandomCreator
for secure random values.
An instance ofRandomFactory
therefore represents a configuration with specificalgorithm
. TheObject.toString()
method should give a textual representation of this underlying configuration.- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
-
-
Field Summary
-
Fields inherited from interface io.github.mmm.crypto.random.RandomConstants
RANDOM_ALGORITHM_SHA1_PRNG
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RandomCreator
newRandomCreator()
SecureRandom
newSecureRandom()
-
-
-
Method Detail
-
newRandomCreator
RandomCreator newRandomCreator()
- Returns:
- the new
RandomCreator
instance.
-
newSecureRandom
SecureRandom newSecureRandom()
- Returns:
- the new unwrapped
SecureRandom
.
-
-