org.bouncycastle.crypto.prng
public class DigestRandomGenerator extends Object implements RandomGenerator
Internal access to the digest is synchronized so a single one of these can be shared.
Constructor Summary | |
---|---|
DigestRandomGenerator(Digest digest) |
Method Summary | |
---|---|
void | addSeedMaterial(byte[] inSeed) |
void | addSeedMaterial(long rSeed) |
void | nextBytes(byte[] bytes) |
void | nextBytes(byte[] bytes, int start, int len) |