Here you can find the source of xor(byte[] block, byte[] val)
static void xor(byte[] block, byte[] val)
//package com.java2s; //License from project: Apache License public class Main { static void xor(byte[] block, byte[] val) { for (int i = 15; i >= 0; --i) { block[i] ^= val[i]; }/* w ww. j av a2s . c om*/ } static void xor(int[] block, int[] val) { for (int i = 3; i >= 0; --i) { block[i] ^= val[i]; } } }