public interface RandomCreator extends CryptoAlgorithm, RandomConstants
random data. It is similar to
SecureRandom but gives additional abstraction.RANDOM_ALGORITHM_SHA1_PRNG| Modifier and Type | Method and Description |
|---|---|
byte[] |
nextRandom(int bytes) |
getAlgorithmbyte[] nextRandom(int bytes)
bytes - the requested number of random bytes.byte array with the given number of random bytes.SecureRandom.nextBytes(byte[])Copyright © 2001–2019 mmm-Team. All rights reserved.