Find the digits that represent the letters E, F, G, and H to satisfy the following puzzle. Each letter represents a different digit.

EFGH x 4 = HGFE

2178 x 4 = 8712