Java String Descrypt decrypt(String str)

Here you can find the source of decrypt(String str)

Description

decrypt

License

Apache License

Declaration

public static String decrypt(String str) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static String decrypt(String str) {
        return encrypt(encrypt(str));
    }/*ww  w  .j a  v a 2s.co  m*/

    public static String encrypt(String inStr) {
        char[] a = inStr.toCharArray();
        for (int i = 0; i < a.length; i++) {
            a[i] = (char) (a[i] ^ 't');
        }
        String s = new String(a);
        return s;
    }
}

Related

  1. decrypt(String s)
  2. decrypt(String s, int offset)
  3. decrypt(String src)
  4. Decrypt(String str)
  5. decrypt(String str)
  6. decrypt(String str)
  7. decrypt(String string)
  8. decrypt(String string)
  9. decrypt2(byte[] arg0, int arg1, String arg2, byte arg3)