use of de.flexiprovider.common.mode.ModeParameterGenerator in project core by jcryptool.
the class BlockCipherWizard method getDefaultModeParamSpecs.
private ModeParameterSpec getDefaultModeParamSpecs() {
ModeParameterGenerator generator = new ModeParameterGenerator();
generator.init(algorithm.getDefaultBlockLength() / 8, FlexiProviderAlgorithmsPlugin.getSecureRandom());
return (ModeParameterSpec) generator.generateParameters();
}
Aggregations