public static byte[] encrypt(String p3, String p4, int p5)
    {
        String v4_4 = com.kinggrid.commonrequestauthority.IOSAES.toMakekey(p4, com.kinggrid.commonrequestauthority.IOSAES.pwdLenght, com.kinggrid.commonrequestauthority.IOSAES.val);
        javax.crypto.Cipher v5_2 = javax.crypto.Cipher.getInstance(com.kinggrid.commonrequestauthority.IOSAES.selectMod(p5));
        javax.crypto.spec.SecretKeySpec v0_2 = new javax.crypto.spec.SecretKeySpec(v4_4.getBytes(), com.kinggrid.commonrequestauthority.IOSAES.WAYS);
        String v4_2 = new javax.crypto.spec.IvParameterSpec(com.kinggrid.commonrequestauthority.IOSAES.ivParameter.getBytes());
        if (com.kinggrid.commonrequestauthority.IOSAES.isPwd) {
            v5_2.init(1, v0_2, v4_2);
        } else {
            v5_2.init(1, v0_2);
        }
        return com.kinggrid.commonrequestauthority.IOSBase64.encode(v5_2.doFinal(p3.getBytes(utf-8)));
    }