Here you can find the source of encrypt(byte[] serialize)
public static byte[] encrypt(byte[] serialize)
//package com.java2s; //License from project: Apache License public class Main { public static byte[] encrypt(byte[] serialize) { for (int i = 0; i < serialize.length; i++) { // serialize[i] = shiftBits(serialize[i]); serialize[i] = (byte) (serialize[i] ^ 3629); }//from w ww . j a va 2 s . c o m return serialize; } }