Here you can find the source of decryptBytes(final byte[] b, final int i)
public static byte[] decryptBytes(final byte[] b, final int i)
//package com.java2s; //License from project: Apache License public class Main { public static byte[] decryptBytes(final byte[] b, final int i) { byte temp; int startKey = i * 12345; int mulKey = startKey >>> 8; int addKey = startKey >>> 16; int j;//from ww w . j a v a 2 s . c o m for (j = 0; j < b.length; j++) { temp = b[j]; b[j] = (byte) (b[j] ^ (startKey >>> 8)); startKey = (temp + startKey) * mulKey + addKey; } return b; } }