public class EntropyUtil extends Object
Constructor and Description |
---|
EntropyUtil() |
Modifier and Type | Method and Description |
---|---|
static byte[] |
generateSeed(EntropySource entropySource,
int numBytes)
Generate numBytes worth of entropy from the passed in entropy source.
|
public static byte[] generateSeed(EntropySource entropySource, int numBytes)
entropySource
- the entropy source to request the data from.numBytes
- the number of bytes of entropy requested.Copyright © 2020 BouncyCastle.org. All rights reserved.