Encryption is under unprecedented threat from established democracies, which are inadvertently paving a dangerous path that the world’s autocrats are only too eager to follow.