Package com.algorand.algosdk.account
Class Account.FixedSecureRandom
- java.lang.Object
-
- java.util.Random
-
- java.security.SecureRandom
-
- com.algorand.algosdk.account.Account.FixedSecureRandom
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Account
public static class Account.FixedSecureRandom extends SecureRandom
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FixedSecureRandom(byte[] fixedValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
generateSeed(int numBytes)
void
nextBytes(byte[] bytes)
-
Methods inherited from class java.security.SecureRandom
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
-
generateSeed
public byte[] generateSeed(int numBytes)
- Overrides:
generateSeed
in classSecureRandom
-
-