We show that the topological entropy of a continuous endomorphism of a compact abelian group coincides with the algebraic entropy of the dual endomorphism of the (discrete) Pontryagin dual group. As an application a relation is given between the topological Pinsker factor and the algebraic Pinsker subgroup.