In exhaustive search, one simply computes successive multiples of P: P, 2P, 3P, 4P☎✄✂✄✂✄✂ until Q
is obtained. This method can take up to n steps in the worst case. To circumvent this attack, one
has to select elliptic curve parameters so that n is sufficiently large.