Here you can find the source of xor(byte abyte0[])
private static byte[] xor(byte abyte0[])
//package com.java2s; /*************************************************************************************************** * Copyright (c) 2003, 2004 IBM Corporation and others. All rights reserved. This program and the * accompanying materials are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * /*from w ww .j a va2 s. c om*/ * Contributors: IBM Corporation - initial API and implementation **************************************************************************************************/ public class Main { private static byte[] xor(byte abyte0[]) { byte abyte1[] = null; if (abyte0 != null) { abyte1 = new byte[abyte0.length]; for (int i = 0; i < abyte0.length; i++) abyte1[i] = (byte) (0x5f ^ abyte0[i]); } return abyte1; } }