Why quantum computing is a security threat and how to defend