In my county in IL, we use machines that create a digital, as well as a paper, final ballot inside the sealed machine. The machine is not linked to any outside servers, only to the equipment at the polling place. The same machines that are used for early voting are the ones that are used on election day. These machines are sealed and secured in county buildings after the counts for each day are extracted, tallied, and confirmed by election judges representing all parties that are on the ballots.