The president of Iran, Hassan Rouhani, has during an Islamic conference in Malaysia proposed the creation of a cryptocurrency for Muslim nations, as an alternative to the U.S. dollar.