A method for determining the torque and/or the rotational speed of a rotating shaft, with the aid of: - one or more wheels (3, 4) provided with teeth (3a-3f, 4a-4f), each wheel (3, 4) being integral with a point (6, 7) of the shaft, - a sensor capable of generating a pulse (12, 13, 14) of an analog signal each time a tooth (3a-3f, 4a-4f) passes in front of it; the method comprising the following steps: - generation of a first and a second analog signal with the aid of the sensor, the second analog signal being offset in time with respect to the first analog signal, the second analog signal having a duration equal to the duration of the first analog signal; - conversion of the first and the second analog signal into a first and a second digital signal; the method being characterized in that it comprises the following steps: - calculation of the temporal cross-correlation function of the first digital signal with the second digital signal; - calculation of the duration (T1, T) between two pulses (12-13, 12-14) of the first analog signal with the aid of the cross-correlation function, the step for calculating the duration between two pulses (12-13, 12-14) comprising the following sub-steps: ∘ identification of the maxima (15, 16 or 15, 17) of the cross-correlation function; ∘ calculation of times t1 and t2 at which the cross-correlation function reaches these maxima by interpolation of the cross-correlation function, the interpolation of the cross-correlation function being carried out only over time intervals ([t4-Δt, t4+Δt]) in which times t1 and t2 are expected; ∘ calculation of the duration (T1, T) between these times t1 and t2. - one or more wheels (3, 4) provided with teeth (3a-3f, 4a-4f), each wheel (3, 4) being integral with a point (6, 7) of the shaft, - a sensor capable of generating a pulse (12, 13, 14) of an analog signal each time a tooth (3a-3f, 4a-4f) passes in front of it; - generation of a first and a second analog signal with the aid of the sensor, the second analog signal being offset in time with respect to the first analog signal, the second analog signal having a duration equal to the duration of the first analog signal; - conversion of the first and the second analog signal into a first and a second digital signal; - calculation of the temporal cross-correlation function of the first digital signal with the second digital signal; - calculation of the duration (T1, T) between two pulses (12-13, 12-14) of the first analog signal with the aid of the cross-correlation function, the step for calculating the duration between two pulses (12-13, 12-14) comprising the following sub-steps: ∘ identification of the maxima (15, 16 or 15, 17) of the cross-correlation function; ∘ calculation of times t1 and t2 at which the cross-correlation function reaches these maxima by interpolation of the cross-correlation function, the interpolation of the cross-correlation function being carried out only over time intervals ([t4-Δt, t4+Δt]) in which times t1 and t2 are expected; ∘ calculation of the duration (T1, T) between these times t1 and t2. ∘ identification of the maxima (15, 16 or 15, 17) of the cross-correlation function; ∘ calculation of times t1 and t2 at which the cross-correlation function reaches these maxima by interpolation of the cross-correlation function, the interpolation of the cross-correlation function being carried out only over time intervals ([t4-Δt, t4+Δt]) in which times t1 and t2 are expected; ∘ calculation of the duration (T1, T) between these times t1 and t2.