Package com.h2tcoin.takamakachain.utils
Class SeededRandom
- java.lang.Object
-
- java.util.Random
-
- java.security.SecureRandom
-
- com.h2tcoin.takamakachain.utils.SeededRandom
-
- All Implemented Interfaces:
Serializable
public class SeededRandom extends SecureRandom
- Author:
- giovanni.antino@h2tcoin.com
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SeededRandom(String seed, String scope, int keyNumber)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
nextBytes(byte[] bytes)
-
Methods inherited from class java.security.SecureRandom
generateSeed, getAlgorithm, getInstance, getInstance, getInstance, getInstance, getInstance, getInstance, getInstanceStrong, getParameters, getProvider, getSeed, next, nextBytes, reseed, reseed, setSeed, setSeed, toString
-
-
-
-
Method Detail
-
nextBytes
public void nextBytes(byte[] bytes)
- Overrides:
nextBytes
in classSecureRandom
-
-