1. A method for testing the resistance of an algorithm (ALGO) using at least one secret quantity (KEY) against attacks measuring physical effects of the execution of the algorithm by an integrated circuit ( 1 ), consisting of implementing statistical key search functions based on hypotheses about at least some bits thereof, by exploiting the input (IN) and output (OUT) values of steps (STEP) of the algorithm.