|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.randomness.Randomness
org.randomness.Truerandomness
org.randomness.Truerandomness.SPI
public abstract class Truerandomness.SPI
This class defines the Service Provider Interface (SPI) for the
Truerandomness
class.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.randomness.Truerandomness |
---|
Truerandomness.SPI |
Constructor Summary | |
---|---|
Truerandomness.SPI()
|
Method Summary | |
---|---|
int |
read(java.nio.ByteBuffer arg0)
The generate function harvest random bits from entropy source per request, can determine entropy of requested bits (optional) and reduce to independent bits if requested bits has low quality entropy. |
Methods inherited from class org.randomness.Truerandomness |
---|
close, equals, from, hashCode, isOpen, main, nextHashCodeEntropy, nextTimeEntropy, reset, test |
Methods inherited from class org.randomness.Randomness |
---|
asRandom, bind, map, minlen, mixing, newBuffer, nextBoolean, nextByte, nextChar, nextCharASCII, nextDouble, nextFloat, nextHexString, nextInt, nextInt, nextLong, nextLong, nextProbability, nextShort, read, read, read, readFuture, readSink, reversed, shuffle, toString, tryRead |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Truerandomness.SPI()
Method Detail |
---|
public int read(java.nio.ByteBuffer arg0)
Truerandomness
The process to obtain true-random bits from entropy source typically involves the following steps:
read
in interface java.nio.channels.ReadableByteChannel
read
in class Truerandomness
arg0
- The buffer into which random bytes are to be transferred.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |