public class NISTSecureRandom
extends java.security.SecureRandom
| Constructor and Description |
|---|
NISTSecureRandom(byte[] seed,
byte[] personalization) |
| Modifier and Type | Method and Description |
|---|---|
static FixedSecureRandom |
getFixed(byte[] seed,
byte[] personalization,
int strength,
int discard,
int size) |
static FixedSecureRandom |
getFixed(byte[] seed,
int strength)
Return a seeded FixedSecureRandom representing the result of processing a
CMCE test seed with the CMCE RandomNumberGenerator.
|
static FixedSecureRandom |
getFixedNoDiscard(byte[] seed,
int strength) |
void |
nextBytes(byte[] x) |
generateSeed, getAlgorithm, getInstance, getInstance, getInstance, getInstanceStrong, getProvider, getSeed, next, setSeed, setSeedpublic static FixedSecureRandom getFixed(byte[] seed, int strength)
seed - original CMCE seedstrength - bit-strength of the RNG required.public static FixedSecureRandom getFixed(byte[] seed, byte[] personalization, int strength, int discard, int size)
public static FixedSecureRandom getFixedNoDiscard(byte[] seed, int strength)
public void nextBytes(byte[] x)
nextBytes in class java.security.SecureRandom