Code example for RC2ParameterSpec

0
paramSpec = new RC2ParameterSpec(keyBits);
            } 
            else 
            { 
                paramSpec = new RC2ParameterSpec(keyBits, iv);
            } 
        } 
        else if (dekAlgName.startsWith("AES-"))
        { 
            alg = "AES";
            byte[] salt = iv;
            if (salt.length > 8)
            { 
                salt = new byte[8];
                System.arraycopy(iv, 0, salt, 0, 8);
            } 
 
            int keyBits;
            if (dekAlgName.startsWith("AES-128-"))
            {