Iran is fighting against unauthorized crypto mining amid ongoing energy supply shortages.