Searched refs:randomBytes (Results 1 – 5 of 5) sorted by relevance
144 byte[] randomBytes = new byte[16]; in randomUUID()145 ng.nextBytes(randomBytes); in randomUUID()146 randomBytes[6] &= 0x0f; /* clear version */ in randomUUID()147 randomBytes[6] |= 0x40; /* set to version 4 */ in randomUUID()148 randomBytes[8] &= 0x3f; /* clear variant */ in randomUUID()149 randomBytes[8] |= 0x80; /* set to IETF variant */ in randomUUID()150 return new UUID(randomBytes); in randomUUID()
82 byte[] randomBytes = new byte[100]; in test_nextBytes$B()83 r.nextBytes(randomBytes); in test_nextBytes$B()84 byte firstByte = randomBytes[0]; in test_nextBytes$B()85 for (int counter = 1; counter < randomBytes.length; counter++) in test_nextBytes$B()86 if (randomBytes[counter] != firstByte) in test_nextBytes$B()
217 NATIVE_METHOD(IOUtil, randomBytes, "([B)Z"),
690 private byte[] randomBytes; field in SecureRandom
325 static native boolean randomBytes(byte[] someBytes); in randomBytes() method in IOUtil