Quantum Computing and the Security of Cryptocurrencies