Thankfully, through the work of Ed Felten and others, voting machines used in the US today have a "paper trail" that can be hand-counted, and IIRC has been hand-re-counted in Michigan in the form of an extensive audit that proved the accuracy of the machine count.
You can do all-paper voting...