Lines Matching refs:seed

45  * Therefore any seed material passed to a SecureRandom object must be
60 * to produce a pseudo-random sequence from a true random seed.
74 * to generate a given number of seed bytes (to seed other random number
77 * byte seed[] = random.generateSeed(20);
141 * <p> The returned SecureRandom object has not been seeded. To seed the
144 * <code>nextBytes</code> will force the SecureRandom object to seed itself.
161 * The SecureRandom instance is seeded with the specified seed bytes.
179 * @param seed the seed.
181 public SecureRandom(byte seed[]) {
183 getDefaultPRNG(true, seed);
186 private void getDefaultPRNG(boolean setSeed, byte[] seed) {
194 this.secureRandomSpi.engineSetSeed(seed);
202 this.secureRandomSpi.engineSetSeed(seed);
251 * <p> The returned SecureRandom object has not been seeded. To seed the
254 * <code>nextBytes</code> will force the SecureRandom object to seed itself.
294 * <p> The returned SecureRandom object has not been seeded. To seed the
297 * <code>nextBytes</code> will force the SecureRandom object to seed itself.
342 * <p> The returned SecureRandom object has not been seeded. To seed the
345 * <code>nextBytes</code> will force the SecureRandom object to seed itself.
406 * Reseeds this random object. The given seed supplements, rather than
407 * replaces, the existing seed. Thus, repeated calls are guaranteed
410 * @param seed the seed.
414 synchronized public void setSeed(byte[] seed) {
415 secureRandomSpi.engineSetSeed(seed);
420 * in the given <code>long seed</code>. The given seed supplements,
421 * rather than replaces, the existing seed. Thus, repeated calls
427 * @param seed the seed.
431 public void setSeed(long seed) {
438 if (seed != 0) {
439 secureRandomSpi.engineSetSeed(longToByteArray(seed));
448 * to seed itself. This self-seeding will not occur if
485 * Returns the given number of seed bytes, computed using the seed
486 * generation algorithm that this class uses to seed itself. This
487 * call may be used to seed other random number generators.
492 * then call the <code>generateSeed</code> method to obtain seed bytes
495 * @param numBytes the number of seed bytes to generate.
497 * @return the seed bytes.
508 * Returns the given number of seed bytes, computed using the seed
509 * generation algorithm that this class uses to seed itself. This
510 * call may be used to seed other random number generators.
512 * @param numBytes the number of seed bytes to generate.
514 * @return the seed bytes.