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

/dalvik/libcore/luni/src/main/java/java/util/
H A DRandom.java91 * @see #nextBytes
122 public void nextBytes(byte[] buf) { method in class:Random
/dalvik/libcore/security/src/main/java/java/security/
H A DSecureRandom.java281 public synchronized void nextBytes(byte[] bytes) { method in class:SecureRandom
307 nextBytes(next);
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/crypto/
H A DSHA1PRNG_SecureRandomImpl.java68 // to use to form byte array returning by the "nextBytes(byte[])" method
77 // COUNTER_BASE - initial value to set to "counter" before computing "nextBytes(..)";
128 private transient byte nextBytes[]; field in class:SHA1PRNG_SecureRandomImpl
130 // index of used bytes in "nextBytes" array
150 // - upon getting "nextBytes(byte[])" invoked, single or first in row,
171 nextBytes = new byte[DIGEST_LENGTH];
238 byte[] myBytes; // byte[] for bytes returned by "nextBytes()"
347 System.arraycopy(nextBytes, nextBIndex, bytes, nextByteToReturn, n);
391 nextBytes[j] = (byte) (k >>> 24); // getting first byte from left
392 nextBytes[
[all...]

Completed in 322 milliseconds