Results 1 to 3 of 3
  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 key generator. 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.
    Thank you...

    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] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrs tuvw 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);
    }
    }
    Last edited by enigma55; 03-09-2011 at 06:57 AM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,252
    Rep Power
    19

    Default

    You already have a thread on this
    Java Key Genarator app

    and a double post that was locked by a moderator.
    Java Key Genarator app

    Abuse reported

    db

  3. #3
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

Similar Threads

  1. Java Key Genarator app
    By enigma55 in forum CLDC and MIDP
    Replies: 1
    Last Post: 03-07-2011, 07:40 AM
  2. Java Key Genarator app
    By enigma55 in forum Advanced Java
    Replies: 0
    Last Post: 03-07-2011, 07:22 AM
  3. Replies: 0
    Last Post: 03-28-2010, 09: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
  •