code: public static byte[] reverseByteArray(byte[] inputByteArray) {
  	byte[] result=new byte[inputByteArray.length];
  	for (int i=inputByteArray.length-1;i>=0;i--) {
  		result[result.length-1-i]=inputByteArray[i];
  	}
  	return result;
  }
docs: Reverses the order of the byte array
  
  @param inputByteArray array to be reversed
  
  @return inputByteArray in reversed order