The equivalence of the computational Diffie – Hellman and discrete logarithm problems in certain groups