public final class FixedSecureRandom
extends java.security.SecureRandom
get() method to get a
secure SecureRandom instance.
This workaround code was recommended by Google in a euphemistically-titled blog post. Our code is slightly different because we're a library so we don't want to change global JVM settings.
| Modifier and Type | Class and Description |
|---|---|
static class |
FixedSecureRandom.LinuxPrngSecureRandomSpi
SecureRandomSpi which passes all requests to the Linux PRNG
(/dev/urandom). |
| Modifier and Type | Method and Description |
|---|---|
static java.security.SecureRandom |
get() |
generateSeed, getAlgorithm, getInstance, getInstance, getInstance, getInstanceStrong, getProvider, getSeed, next, nextBytes, setSeed, setSeed