anon.client.crypto
Class KeyPool
java.lang.Object
anon.client.crypto.KeyPool
- All Implemented Interfaces:
- java.lang.Runnable
public final class KeyPool
- extends java.lang.Object
- implements java.lang.Runnable
Constructor Summary |
private |
KeyPool(int poolsize,
int keylength)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sr
private java.security.SecureRandom sr
pool
private KeyPool.KeyList pool
aktKey
private KeyPool.KeyList aktKey
keySize
private int keySize
poolSize
private int poolSize
l1
private java.lang.Object l1
l2
private java.lang.Object l2
runflag
private boolean runflag
m_KeyPool
private static KeyPool m_KeyPool
m_KeyPoolThread
private java.lang.Thread m_KeyPoolThread
KeyPool
private KeyPool(int poolsize,
int keylength)
start
public static KeyPool start()
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
getKey
public static int getKey(byte[] key)
getKey
public static int getKey(byte[] key,
int offset)