Home | History | Annotate | Download | only in security

Lines Matching refs:numBytes

499         int numBytes = (numBits+7)/8;
500 byte b[] = new byte[numBytes];
504 for (int i = 0; i < numBytes; i++) {
508 return next >>> (numBytes*8 - numBits);
522 * @param numBytes the number of seed bytes to generate.
528 public static byte[] getSeed(int numBytes) {
532 return seedGenerator.generateSeed(numBytes);
540 * @param numBytes the number of seed bytes to generate.
544 public byte[] generateSeed(int numBytes) {
545 return secureRandomSpi.engineGenerateSeed(numBytes);