Esempio n. 1
0
 public void a(String str, int i) {
   int i2 = 0;
   int a = f.a(i);
   String a2 = g.a(str, this.i, this.j);
   int length = a2.length();
   int[] a3 = a(length, a);
   int i3 = a3[0];
   int i4 = a3[1];
   int b = b(length, a, i3, i4);
   if ((a + length) + 1 > a.a) {
     throw new x(
         "Encoded message contains to many code words, message to big ("
             + str.length()
             + " bytes)");
   }
   a = (length + b) + 1;
   StringBuilder stringBuilder = new StringBuilder(a);
   stringBuilder.append((char) a);
   stringBuilder.append(a2);
   while (i2 < b) {
     stringBuilder.append('\u0384');
     i2++;
   }
   Object stringBuilder2 = stringBuilder.toString();
   CharSequence charSequence = stringBuilder2 + f.a(stringBuilder2, i);
   this.g = new a(i4, i3);
   a(charSequence, i3, i4, i, this.g);
 }
Esempio n. 2
0
 private void a(CharSequence charSequence, int i, int i2, int i3, a aVar) {
   int i4 = 0;
   for (int i5 = 0; i5 < i2; i5++) {
     int i6;
     int i7;
     int i8 = i5 % 3;
     aVar.a();
     a((int) a, 17, aVar.b());
     if (i8 == 0) {
       i6 = ((i2 - 1) / 3) + ((i5 / 3) * 30);
       i7 = ((i5 / 3) * 30) + (i - 1);
     } else if (i8 == 1) {
       i6 = ((i2 - 1) % 3) + (((i5 / 3) * 30) + (i3 * 3));
       i7 = ((i5 / 3) * 30) + ((i2 - 1) / 3);
     } else {
       i6 = (i - 1) + ((i5 / 3) * 30);
       i7 = (((i5 / 3) * 30) + (i3 * 3)) + ((i2 - 1) % 3);
     }
     a(c[i8][i6], 17, aVar.b());
     for (i6 = 0; i6 < i; i6++) {
       a(c[i8][charSequence.charAt(i4)], 17, aVar.b());
       i4++;
     }
     if (this.h) {
       a((int) b, 1, aVar.b());
     } else {
       a(c[i8][i7], 17, aVar.b());
       a((int) b, 18, aVar.b());
     }
   }
 }