Voters use special pens to reveal codes they can later verify online, maintaining ballot secrecy while ensuring votes are recorded correctly.