If a current of 8 A passing through a circuit generates 8 W of power, what is the resistance of the circuit?