public static int verify(InputStream stream) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(stream));
		int lineNum = 0;
		String prev = "";
		
		while(true) {
			lineNum++;
			
			String line = in.readLine();
			if(line == null) break;
			if(line.length() == 0) continue;
			
			//try {
				String hashStr = (line + " ").split(" +")[0];
				if(!hashStr.equalsIgnoreCase(Utils.hexView(func.computeHash(prev.getBytes("UTF-8")))))
					return lineNum;
				
				prev = line;
			//} catch(ArrayIndexOutOfBoundsException e) {
			//	return lineNum;
			//}
		}
		
		return 0;
	}