AesCtrDrbgFactory { public static Drbg fromSampledSeed() { return new AesCtrDrbg(); } private  AesCtrDrbgFactory(); static Drbg fromDerivedSeed(final byte... bytes); static Drbg fromRandomSeed(final byte[] seed); static Drbg fromSampledSeed(); static final String HASH_ALGORITHM; }
@Test public void testFromSampledSeed() { Drbg drbg = AesCtrDrbgFactory.fromSampledSeed(); byte[] bytes = new byte[100]; drbg.nextBytes(bytes); assertFalse(Arrays.equals(bytes, new byte[100])); }