Methods for exchanging secret keys are essential for electronic commerce transactions.In this paper the well-known Diffie-Hellman-method is generalized to non-Abelian groups. The new method is easy to implement and contains the original method as a special case. It is to be expected that it provides higher levels of security than the original method.