-
Decrypt special symbol
Hi all,
I have just gotten a java applet template. And i can't understand some code, ex:
Code:
String s = (new StringBuilder()).append(a).append(a.a("X|~4Nws|<Ksu!")).toString();
or
Code:
byte abyte0[] = s.getBytes(a.a("]FX9(-&-1d"));
I can't get "X|~4Nws|<Ksu!" and "]FX9(-&-1d" is what?
Who can help me please :confused:
All code of this:
Code:
import java.io.PrintStream;
import java.io.UnsupportedEncodingException;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Arrays;
public class b
{
public static byte[] a(String a)
throws UnsupportedEncodingException, NoSuchAlgorithmException
{
String s = (new StringBuilder()).append(a).append(a.a("X|~4Nws|<Ksu!")).toString();
byte abyte0[] = s.getBytes(a.a("]FX9(-&-1d"));
MessageDigest messagedigest = MessageDigest.getInstance(a.a("E_\024"));
messagedigest.update(abyte0);
return messagedigest.digest();
}
public static boolean a(String a, byte a[])
throws UnsupportedEncodingException, NoSuchAlgorithmException
{
if(Arrays.equals(a(a), a))
{
return true;
} else
{
System.out.println(a.a("Cgxzw5cuofh{j1"));
return false;
}
}
}
-
Can you please put your code in proper format so that it will more readable and also describe more about you problem
put your code in