java.lang.Object | +--java.lang.Thread | +--net.vattp.security.TimerJitterEntropy
Use clock phase differences between 2 PC clocks to generate entropy.
This class provides a cryptographically strong random number generator based on user provided sources of entropy and the MD5 hash algorithm. It maintains an estimate of the amount of entropy supplied. If there is a request for secure random data, a call on nextBytes(), when there is less than 80 bits of randomness available, it will use super.getSeed() to bring the level up to 80 bits.
The calls inherited from Random and SecureRandom are implemented in terms of the strengthened functionality.
java.util.Random,
java.security.SecureRandomTimerJitterEntropy(String name)
void
run()
Runnable run object, then that
Runnable object's run method is called;
otherwise, this method does nothing and returns.
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
private boolean theIsStarted
public TimerJitterEntropy(String name)
public boolean isStarted()
public final void run()
ThreadRunnable run object, then that
Runnable object's run method is called;
otherwise, this method does nothing and returns.
Subclasses of Thread should override this method.
java.lang.Thread#start(),
java.lang.Thread#stop(),
java.lang.Thread#Thread(java.lang.ThreadGroup,
java.lang.Runnable, java.lang.String),
java.lang.Runnable#run()