@Test void generateWithStrengthParameter() { KeyGenerationParameters params = new GenericKeyGenerationParameters(24); byte[] key = generator.generate(params); assertThat(key.length, equalTo(24)); assertThat(key, not(equalTo(generator.generate(params)))); assertThat(generator.generate(new GenericKeyGenerationParameters(16)).length, equalTo(16)); }
@Override public byte[] generate() { return generate(new GenericKeyGenerationParameters(24)); }
BcDESedeKeyGenerator extends DefaultKeyGenerator { @Override public byte[] generate() { return generate(new GenericKeyGenerationParameters(24)); } }
BcDESedeKeyGenerator extends DefaultKeyGenerator { @Override public byte[] generate() { return generate(new GenericKeyGenerationParameters(24)); }  }
BcDESedeKeyGenerator extends DefaultKeyGenerator { @Override public byte[] generate() { return generate(new GenericKeyGenerationParameters(24)); }  @Override byte[] generate(); }
BcDESedeKeyGenerator extends DefaultKeyGenerator { @Override public byte[] generate() { return generate(new GenericKeyGenerationParameters(24)); }  @Override byte[] generate();  }