Lines Matching refs:strength
37 protected int strength = 1024;
40 int strength,
43 this.strength = strength;
63 this.strength = spec.getPrimeSize();
74 pGen.init(strength, 20, random);
78 pGen.init(strength, 20, new SecureRandom());
103 int strength,
106 if (strength < 512 || strength > 1024 || strength % 64 != 0)
108 throw new InvalidParameterException("strength must be from 512 - 1024 and a multiple of 64");
111 this.strength = strength;
129 pGen.init(strength, 20, random);
133 pGen.init(strength, 20, new SecureRandom());
172 // pGen.init(strength, 2, random);
176 // pGen.init(strength, 2, new SecureRandom());
213 // this.strength = spec.getPrimeSize();
224 // pGen.init(strength, 20, random);
228 // pGen.init(strength, 20, new SecureRandom());