java.lang.Object
io.github.astrapi69.random.SecureRandomFactory
A factory for creating
SecureRandom
objects-
Method Summary
Modifier and TypeMethodDescriptionstatic SecureRandom
Factory method for create a newSecureRandom
objectstatic SecureRandom
newSecureRandom
(String algorithm) Factory method for create a newSecureRandom
objectstatic SecureRandom
newSecureRandom
(String algorithm, String provider) Factory method for create a newSecureRandom
objectstatic SecureRandom
newSecureRandom
(String algorithm, String provider, long seed) Factory method for create a newSecureRandom
object
-
Method Details
-
newSecureRandom
Factory method for create a newSecureRandom
object- Returns:
- the new
SecureRandom
object
-
newSecureRandom
Factory method for create a newSecureRandom
object- Parameters:
algorithm
- the algorithm- Returns:
- the new
SecureRandom
object
-
newSecureRandom
Factory method for create a newSecureRandom
object- Parameters:
algorithm
- the algorithmprovider
- the provider- Returns:
- the new
SecureRandom
object
-
newSecureRandom
Factory method for create a newSecureRandom
object- Parameters:
algorithm
- the algorithmprovider
- the providerseed
- the seed- Returns:
- the new
SecureRandom
object
-