this.effectiveKeySize = effectiveKeySize;
}
void run() throws Exception {
Cipher cipher = Cipher.getInstance("RC2/ECB/NOPADDING", "SunJCE");
SecretKey keySpec = new SecretKeySpec(key, "RC2");
RC2ParameterSpec rc2Spec = new RC2ParameterSpec(effectiveKeySize);
cipher.init(Cipher.ENCRYPT_MODE, keySpec, rc2Spec);
byte[] enc = cipher.doFinal(plaintext);
if (Arrays.equals(ciphertext, enc) == false) {
System.out.println("RC2AlgorithmParameters Cipher test " +
"encryption failed:");