public final class LinuxSecureRandom extends SecureRandomSpi
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.
| Constructor and Description |
|---|
LinuxSecureRandom() |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
engineGenerateSeed(int i) |
protected void |
engineNextBytes(byte[] bytes) |
protected void |
engineSetSeed(byte[] bytes) |
protected void engineSetSeed(byte[] bytes)
engineSetSeed in class SecureRandomSpiprotected void engineNextBytes(byte[] bytes)
engineNextBytes in class SecureRandomSpiprotected byte[] engineGenerateSeed(int i)
engineGenerateSeed in class SecureRandomSpiCopyright © 2022 IoTeX Group. All rights reserved.