|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--webfunds.utils.SecureRandomHack
This class is a hack to speed up SecureRandom initialization, working around JDK 1.1 brain damage. This class should disappear when we drop JDK 1.1.x support. Just call it before you call your first SecureRandom() constructor. This will only improve speed on UN*X, Windows and Mac don't have a /dev/random nor something equivalent.
| Method Summary | |
static java.security.SecureRandom |
getInstance()
Get a SecureRandom object that has been initialized a quickly as possible. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Method Detail |
public static java.security.SecureRandom getInstance()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||