plebble
|
Classes | |
class | LinuxSecureRandomProvider |
Public Member Functions | |
linux_secure_random () | |
Protected Member Functions | |
void | engineSetSeed (byte[] bytes) |
void | engineNextBytes (byte[] bytes) |
byte[] | engineGenerateSeed (int i) |
Static Package Functions | |
[static initializer] | |
Private Attributes | |
final DataInputStream | dis |
Static Private Attributes | |
static final FileInputStream | urandom |
A SecureRandom implementation that is able to override the standard JVM provided implementation, and which simply serves random numbers by reading /dev/urandom. That is, it delegates to the kernel on UNIX systems and is unusable on other platforms. Attempts to manually set the seed are ignored. There is no difference between seed bytes and non-seed bytes, they are all from the same source.
|
inline |
|
inlinestaticpackage |
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
|
private |
|
staticprivate |