1. Member
Join Date
Mar 2011
Posts
3
Rep Power
0

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 07:57 AM.

and a double post that was locked by a moderator.
http://www.java-forums.org/cldc-midp...rator-app.html

Abuse reported

db

Posting Permissions

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