Here you can find the source of xor32(byte[] a, short aOffset, byte[] b, short bOffset, byte[] result, short offset)
public static void xor32(byte[] a, short aOffset, byte[] b, short bOffset, byte[] result, short offset)
//package com.java2s; //License from project: BSD License public class Main { public static void xor32(byte[] a, short aOffset, byte[] b, short bOffset, byte[] result, short offset) { result[offset] = (byte) (a[aOffset] ^ b[bOffset]); result[(short) (offset + 1)] = (byte) (a[(short) (aOffset + 1)] ^ b[(short) (bOffset + 1)]); result[(short) (offset + 2)] = (byte) (a[(short) (aOffset + 2)] ^ b[(short) (bOffset + 2)]); result[(short) (offset + 3)] = (byte) (a[(short) (aOffset + 3)] ^ b[(short) (bOffset + 3)]); }/*from w w w . j ava2s .c om*/ }