Making   elections secure and fair is harder than it seems.