Results 1 to 2 of 2
  1. #1
    enigma55 is offline Member
    Join Date
    Mar 2011
    Posts
    3
    Rep Power
    0

    Default Java Key Genarator app

    Hi, I have given below do not understand java code keygen. how to string a series of turning logic? If you help me I would be glad, for example, corresponds to what "e97ae677" an array of strings.

    package uyg_son.c;


    public final class a
    {

    public a()
    {
    }

    public static String a(String s)
    {
    String s1;
    char ac4[] = (s1 = s).toCharArray();
    int k1;
    char ac[] = new char[k1 = 3 * ((ac4.length + 2) / 3)];
    System.arraycopy(ac4, 0, ac, 0, ac4.length);
    int i = ((ac = ac).length + 2) / 3;
    char ac1[] = new char[4];
    char ac2[] = new char[i * 4];
    for(int j = 0; j < i; j++)
    {
    char ac5[] = ac1;
    int j1 = j * 3;
    char ac3[] = ac;
    ac5[0] = (char)(ac3[j1] >>> 2);
    ac5[1] = (char)((ac3[j1] & 3) << 4 | ac3[j1 + 1] >>> 4);
    ac5[2] = (char)((ac3[j1 + 1] & 0xf) << 2 | ac3[j1 + 2] >>> 6);
    ac5[3] = (char)(ac3[j1 + 2] & 0x3f);
    for(int l = 0; l < ac1.length; l++)
    ac2[l + j * 4] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvw xyz0123456789+/".charAt(ac1[l]);

    }

    int k = ac.length - s.length();
    for(int i1 = ac2.length - k; i1 < ac2.length; i1++)
    ac2[i1] = '=';

    return new String(ac2);
    }
    }

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    DO NOT post the same thread in multiple sub-forum. If you want to really move to a different place, please contact one of our forum moderators. Most of the time they'll do it without your concern too.

    I've to close this thread, and stick with the other.

Similar Threads

  1. Java Key Genarator app
    By enigma55 in forum Advanced Java
    Replies: 0
    Last Post: 03-07-2011, 08:22 AM
  2. Replies: 0
    Last Post: 03-28-2010, 10:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •