public 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.
| 构造器和说明 |
|---|
LinuxSecureRandom()
Constructor.
|
protected void engineSetSeed(byte[] bytes)
engineSetSeed 在类中 SecureRandomSpiprotected void engineNextBytes(byte[] bytes)
engineNextBytes 在类中 SecureRandomSpiprotected byte[] engineGenerateSeed(int i)
engineGenerateSeed 在类中 SecureRandomSpiCopyright © 2020. All Rights Reserved.