Here you can find the source of xor(final byte[] inputByteArray, final byte timeByte)
protected static byte[] xor(final byte[] inputByteArray, final byte timeByte)
//package com.java2s; //License from project: Open Source License public class Main { protected static byte[] xor(final byte[] inputByteArray, final byte timeByte) { byte[] outputByteArray = new byte[inputByteArray.length]; for (int intCount = 0; intCount < inputByteArray.length; intCount++) { outputByteArray[intCount] = (byte) (inputByteArray[intCount] ^ timeByte); }/*w ww.j ava2s . co m*/ return outputByteArray; } }