By 'hooking up to a computer', one tampers odometers in the first place. That's how leased cars' odometers are tampered by some lessees.
One of the ways tampering happens on digital dashes that read the mileage from the ECU is by putting a interceptor in between the dash and the ECU as it’s easier than reprogramming the ECU. https://youtu.be/f4af1OBU5nQ
FYI I do not reset odometers, I am on the other side, developing software for instrument clusters.