Searched defs:nextBytes (Results 1 - 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/util/
H A DRandom.java104 public void nextBytes(byte[] buf) { method in class:Random
/libcore/luni/src/main/java/java/security/
H A DSecureRandom.java37 * sr.nextBytes(output);</pre>
269 public synchronized void nextBytes(byte[] bytes) { method in class:SecureRandom
295 nextBytes(next);
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/
H A DSHA1PRNG_SecureRandomImpl.java76 // to use to form byte array returning by the "nextBytes(byte[])" method
85 // COUNTER_BASE - initial value to set to "counter" before computing "nextBytes(..)";
136 private transient byte[] nextBytes; field in class:SHA1PRNG_SecureRandomImpl
138 // index of used bytes in "nextBytes" array
158 // - upon getting "nextBytes(byte[])" invoked, single or first in row,
179 nextBytes = new byte[DIGEST_LENGTH];
245 byte[] myBytes; // byte[] for bytes returned by "nextBytes()"
357 System.arraycopy(nextBytes, nextBIndex, bytes, nextByteToReturn, n);
401 nextBytes[j] = (byte) (k >>> 24); // getting first byte from left
402 nextBytes[
[all...]

Completed in 104 milliseconds