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

    Default Decrypt special symbol

    Hi all,
    I have just gotten a java applet template. And i can't understand some code, ex:

    Java Code:
    String s = (new StringBuilder()).append(a).append(a.a("X|~4Nws|<Ksu!")).toString();
    or
    Java 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:

    Java 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;
            }
        }
    }
    Last edited by liketanglung; 03-21-2011 at 08:52 AM.

  2. #2
    sanjeevtarar's Avatar
    sanjeevtarar is offline Senior Member
    Join Date
    Apr 2008
    Location
    Jaipur(India)
    Posts
    319
    Rep Power
    10

    Default

    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

    Java Code:
      
    sanjeev,संजीव

Similar Threads

  1. How to decrypt SSL?
    By Sergio in forum Advanced Java
    Replies: 3
    Last Post: 02-18-2016, 06:42 PM
  2. Encrypt and decrypt SMS
    By ZeCute in forum CLDC and MIDP
    Replies: 8
    Last Post: 06-13-2010, 05:01 AM
  3. Replies: 9
    Last Post: 10-18-2008, 08:26 PM
  4. Replies: 3
    Last Post: 05-01-2008, 08:30 AM
  5. show special symbol using its Unicode character
    By christina in forum AWT / Swing
    Replies: 1
    Last Post: 07-25-2007, 09:21 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
  •