In 2007, a massive cyberattack crippled Estonia’s networks following a dispute with Russia. Today the nation is so certain of its cyber defenses that it is the only country in the world to allow internet voting for the entire electorate, in every election.