Here you can find the source of encryptString(String str)
public static String encryptString(String str)
//package com.java2s; public class Main { static final int key = 0xF3; public static String encryptString(String str) { StringBuffer sb = new StringBuffer(); for (int i = 0; i < str.length(); i++) { int c = str.charAt(i); sb.append(Integer.toHexString(c ^ key)).append(" "); }/*from w w w .jav a 2 s . c o m*/ return sb.toString(); } }