The word and conjugacy problems in hyperbolic groups