That’s interesting. That makes the current use of “hash” something of an eggcorn — like “butt naked” for “buck naked.”. . . Hash mark is defined as military slang for service stripe in 1953 edition, and the 1972 edition, and the 1976 unabridged edition.
“Hatch” as in hatch-marks and crosshatching is definitely the origin of Hash but I don't know when it came into use.