Package de.alpharogroup.random
Class SecureRandomFactory
- java.lang.Object
-
- de.alpharogroup.random.SecureRandomFactory
-
public final class SecureRandomFactory extends java.lang.ObjectA factory for creatingSecureRandomobjects
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.security.SecureRandomnewSecureRandom()Factory method for create a newSecureRandomobjectstatic java.security.SecureRandomnewSecureRandom(java.lang.String algorithm)Factory method for create a newSecureRandomobjectstatic java.security.SecureRandomnewSecureRandom(java.lang.String algorithm, java.lang.String provider)Factory method for create a newSecureRandomobjectstatic java.security.SecureRandomnewSecureRandom(java.lang.String algorithm, java.lang.String provider, long seed)Factory method for create a newSecureRandomobject
-
-
-
Method Detail
-
newSecureRandom
public static java.security.SecureRandom newSecureRandom()
Factory method for create a newSecureRandomobject- Returns:
- the new
SecureRandomobject
-
newSecureRandom
public static java.security.SecureRandom newSecureRandom(java.lang.String algorithm)
Factory method for create a newSecureRandomobject- Parameters:
algorithm- the algorithm- Returns:
- the new
SecureRandomobject
-
newSecureRandom
public static java.security.SecureRandom newSecureRandom(java.lang.String algorithm, java.lang.String provider)Factory method for create a newSecureRandomobject- Parameters:
algorithm- the algorithmprovider- the provider- Returns:
- the new
SecureRandomobject
-
newSecureRandom
public static java.security.SecureRandom newSecureRandom(java.lang.String algorithm, java.lang.String provider, long seed)Factory method for create a newSecureRandomobject- Parameters:
algorithm- the algorithmprovider- the providerseed- the seed- Returns:
- the new
SecureRandomobject
-
-