Add getEntity to Agents.
Signed-off-by: Chris Sanders <zidane@outlook.com>
We can not use a new SecureRandom call for each thread, /dev/random has limited amount of bits of entropy, can easily deplete all available entropy and lead to long waits or even deadlocks.