public class TestRandomData extends FixedSecureRandom
FixedSecureRandom.BigInteger, FixedSecureRandom.Data, FixedSecureRandom.Source| Constructor and Description |
|---|
TestRandomData(byte[] encoding)
Constructor from an array of bytes.
|
TestRandomData(int bitLength,
byte[] data)
Constructor from an array of bytes with a minimum bitLength (padding on the left).
|
TestRandomData(int bitLength,
java.lang.String encoding)
Constructor from a Hex encoding of the data with a minimum bitLength (padding on the left).
|
TestRandomData(java.lang.String encoding)
Constructor from a Hex encoding of the data.
|
generateSeed, isExhausted, nextBytes, nextInt, nextLonggetAlgorithm, getInstance, getInstance, getInstance, getInstanceStrong, getProvider, getSeed, next, setSeed, setSeedpublic TestRandomData(java.lang.String encoding)
encoding - a Hex encoding of the data to be returned.public TestRandomData(int bitLength,
java.lang.String encoding)
bitLength - the mininum bitLength to pad the data to.encoding - a Hex encoding of the data to be included in the padded Data.public TestRandomData(byte[] encoding)
encoding - a byte array representing the data to be returned.public TestRandomData(int bitLength,
byte[] data)
bitLength - the mininum bitLength to pad the data to.data - the data to be included in the padded Data.